Console command PRINT
If there is insufficient information on this page and you wish learn more about PRINT, please send an email to email@example.com. You can help to improve information about PRINT by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
|TAB||Moves cursor position to the nth column.|
|SPC||Prints a number of spaces specified by n.|
|;||Carriage return/line feed suppressed after printing.|
|,||Carriage return/line feed suppressed after printing.|
Print USING uses the FORMAT function to display numbers and strings. Unlike FORMAT it can also include literals.
- [_] – Print next character as a literal. The combination _#, for example, allows you to include a number sign as a literal in your numeric format.
- [other] Characters other than the foregoing may be included as literals in the format string.
When a PRINT USING command is executed the format will remains on the memory until a new format is passed. Calling a PRINT USING without a new format specified the PRINT will use the format of previous call.
PRINT USING "##: #,###,##0.00"; FOR i=0 TO 20 PRINT USING; i+1, A(i) NEXT .... PRINT USING "Total ###,##0 of \ \"; number, "bytes"
The symbol ? can be used instead of keyword PRINT You can use ‘USG’ instead of ‘USING’.