PRINT
PRINT used by itself prints a blank line
PRINT "LINE 1"
PRINT
PRINT "LINE 2"
CLS is not implemented in CBM BASIC. Therefore, you have to clear the screen with :
PRINT CHR$(147)
Displaying text to the screen:
PRINT "I AM YOUR ROBOT SLAVE"
Unlike other BASICs, Commodore BASIC does not require you to use a semicolon (;) between string literals and numeric variables.
10 REM HE IS PLAYER HEALTH
20 HE = 100
30 PRINT "YOU HAVE"HE
PRINT can be used to display the results of calculations using numeric literals:
PRINT 32 + 32
PRINT can be used to display a message before a symbolic prompt:
10 PRINT "BUY HOW MANY ARROWS?"
20 INPUT ">";A$
page revision: 1, last edited: 09 Mar 2007 07:35