Tandy 1000 Basic Reference Manual page 203

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
~.
10 I BASIC Keywords
Sample Programs
1 0 C L S
2 0 L I N E
-(RND*319,RND*199),RND+4
3 0 GO TO 2 0
In Screen Modes 1
to
6, Lines 10-30 create a loop that draws
random lines on the video display.
4 0
F O R
X=O TO 3 1 9
6 0 N E X T
5 0 L I N E ( X , B ) - ( X , 1 9 9 ) , X
FlND 1
In Screen Modes 1 to 6, Lines 40-60 draw an alternating pat-
tern, turning on and off the line.
1 0 C L S
2 0 L I N E
-(RND*639,RND*199),RND*2,BF
3 0 GO TO 2 0
This program draws a random filled box in Screen Modes 1 to 6.
201

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents