GLBasic Programming/BASIC/PRINT, CLEARSCREEN, and END
Jump to navigation Jump to search
Here you can see more of the PRINT CLEARSCREEN and END functions:
CLEARSCREEN PRINT "Hello, world!" PRINT "I'm learning about commands in BASIC." PRINT "This text is being printed via the PRINT command." PRINT "On the next line, I'll use SHOWSCREEN, then CLEARSCREEN." SHOWSCREEN CLEARSCREEN PRINT "Finally, on line 11, I'll use END." SHOWSCREEN KEYWAIT END PRINT "Now my program is over." SHOWSCREEN
Finally, on line 10, I'll use END.
Because there is a END function, the stuff after the END is not used.