How can I use MUL2?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-10 01:06 PM
2004-08-10
01:06 PM

Please advise
Thank you'

!2D script------------
GOSUB 10
GOSUB 20
MUL2 -A/2,1
GOSUB 20
END: !-------------------------------------------
10:
!Frame
HOTSPOT2 -A/2 , -gs_frame_thk
HOTSPOT2 A/2 , -gs_frame_thk
ADD2 -A/2,0
RECT2 0,0,gs_frame_width,-gs_frame_thk
DEL 1
ADD2 A/2,0
RECT2 0,0,-gs_frame_width,-gs_frame_thk
DEL 1
ADD2 -A/2,0
LINE2 gs_frame_width,0 , A-gs_sash_thk-gs_frame_width,0
LINE2 gs_frame_width,0-gs_frame_thk , A,0-gs_frame_thk
LINE2 gs_frame_width,-gs_sash_thk , A-gs_frame_width,0-gs_sash_thk
DEL 1
RETURN
20:
!sash 1
IF open_ang2D<0 THEN open_ang2D=0
IF open_ang2D>90 THEN open_ang2D=90
ADD2 dwid/2,0
ROT2 180-open_ang2D
RECT2 0,0,dwid/2,gs_sash_thk
ARC2 0,0,dwid/2,0,open_ang2D
DEL 2
RETURN
2 REPLIES 2
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-10 01:26 PM
2004-08-10
01:26 PM
Hello!
Try 'mul2 -1, 1' and see what happens ...
- Stuart
Try 'mul2 -1, 1' and see what happens ...
- Stuart
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-11 11:05 AM
2004-08-11
11:05 AM
Thanks for your suggest.
