SHOW (expr1, expr2)
SHOW (expr1, expr2, expr3, expr4)
Supported by: Floating Point BASIC 2.2
Similar commands: -
This statement allows the programmer to define images, patterns, figures, etc. with a PT= statement and display them on the screen. BASIC evaluates expr1 and expr2 to determine the X, Y location, from the upper left hand corner, of where to show the patterns. If expr3 and expr4 are used then the pattern can be repeated across the screen with expr3 providing the horizontal repeats and expr4 giving the vertical repeats.
Will show a box in the upper left hand corner.
10 CLS 20 PT= "FFFFFFFF" 40 SHOW (0, 0, 8, 32)
Will fill the whole screen to white.
10 CLS 20 PT= "3838FFFFFFFF6666" 30 FOR A=0 to 56 40 SHOW (A, 120) 50 WAIT (10) 60 SHOW (A,120) 70 NEXT
Will drive a little car across the bottom of the screen