Print


Statement Print


Display an expression


Syntax Print "Hello"


Remarks


Print is used to display variables, strings or any expression.

For Example, Print 10 ^ 2 * 5

Would result in the output 500


There are some characters that allow you to format the display.

You can use the comma to insert a tab character, and the semi-colon to indicate that the next item printed should appear on the same line.


Tabbed example:

PRINT I,J,K,L,M


Would result in:


5 10 15 20 25


Line Continuation example:

PRINT "Hello";

PRINT " ";

PRINT "There"


Would result in:


Hello There


See Also:

Statements