PRINT

Format

PRINT [printobject1 [;]]

Description

This statement is used to print to the screen. Printing begins at the current cursor location. Printobject1 is defined as any valid ASIC data type: integer constant, integer variable, decimal constant, decimal variable, string constant, string variable, and arrays. The semicolon is optional and is used to tell ASIC if you want a carriage return/line feed issued. A semicolon at the end of a PRINT statement will suppress the carriage return/line feed ASIC normally issues. If no operands are supplied, ASIC will simply issue a carriage return and line feed.

Example

A=1000
PRINT "A=";
PRINT A
PRINT
PRINT "DONE!"
After execution of these statements your screen would display:
A=  1000

DONE!

See Also

  • COLOR
  • SCREEN
  • LOCATE