Tandy 1000 Basic Reference Manual page 202

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I BASIC Keywords
Here are some sample styles showing the bit representation, the
line drawn, and their hex equivalents:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 equals &H5555
-
is drawn
-
-
-
-
-
_
_
1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 lequals&HDBGD
-
is drawn
_ _
_ _
- -
_ _
- _
Examples
You can try these examples in Screen Modes 1 to 6. The color,
size, and position of the image on the display vary, depending on
the current screen mode.
L I N E
-(319,
199)
draws a line from the last point referenced t o point 319,199 in
the default color. This is the simplest form of the LINE state-
ment. Note that when you omit the beginning points you must
still include the hyphen.
L I N E
(0,0)-(319,199)
draws a diagonal line on the display in the default color.
L I N E
C
0 , 1 0 0 )-(319,100
1
,l
draws a horizontal line across the display in Color 1.
L I N E
( 0 , 0 ) - < 1 0 0 , 1 0 0 ) ,
,E
draws a box in the upper left corner of the display.
L I N E
(0,0)-(200,200),1
,BF
draws a box on the display and fills it in with Color 1.
L I N E
(0,0)-(200,200),1,B,
& H 5 5 5 5
draws a box outlined by a dashed line.
200

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents