D0PEN#2, “RECIPES”,D1.U9
Open the sequential file number 2 (RECIPES) for a read operation
on device number 9, drive 1.
DOPEN#3,“BOOKS”,L128
Open the relative file number 3 (BOOKS) for READ or WRITE on
unit 8 drive 0. Record length is 128 characters.
DRAW
Draw dots, lines and shapes at specified positions on
screen
DRAW [color source],X1,Y1[TO X2, Y2]...
This statement draws individual dots, lines, and shapes. Here are
the parameter values:
Color source = 0 Bit map background
1 Bit map foreground
2 Multicolor 1 > GRAPHICS modes
3 Multicolor 2> 3 and 4
X1,Y1 Starting coordinate, scaled
X2,Y2 Ending coordinate, scaled
Also see the LOCATE command for information on the pixel
cursor
EXAMPLES:
DRAW 1,100, 50 Draw a dot
DRAW ,10,10 TO 100,60 Draw a line
DRAW , 10,10 TO 10,60 TO 100,60 TO 10,10 Draw a triangle
You may omit a parameter but you still must include the comma
that would have followed the unspecified parameter.
DSAVE
Save a BASIC program file to disk
DSAVE “filename” [,Ddrive number] [<ON | ,>Udevice number]
17-27