[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
PRINT Display on Screen
PRINT [exprlist][;]
? [exprlist][;]
Displays one or more numeric or string expressions on screen.
exprlist Numeric and/or string expressions to print. Each
expression must be separated from the one after it by
either a comma or a semicolon.
; If included at the end of the statement, suppresses the
usual carriage return and line feed.
--------------------------------------------------------------------------
Notes: Turbo Basic divides the screen into zones of 14 character
positions. If an expression is followed by a comma, Turbo
Basic displays the next expression at the beginning of the
next screen zone. If an expression is followed by a
semicolon or space character, Turbo Basic displays the
next expression directly after the last expression.
If the last expression in the list to be displayed is
followed by a comma, a semicolon, SPC, or TAB, Turbo Basic
spaces appropriately and suppresses its usual carriage
return-line feed pair. Otherwise, Turbo Basic issues a
carriage return and line feed after executing a PRINT
statement.
Turbo Basic also issues a carriage return and line feed if
the display of a list of expressions reaches the character
position specified by the most recent WIDTH statement (or
column 80, if no WIDTH statement has been executed).
Numbers are always followed by a space on the right.
Positive numbers are preceded by a space, and negative
numbers are preceded by a minus sign.
If no list of expressions is supplied, PRINT just issues a
carriage return and line feed.
? is a synonym for the keyword PRINT.
See Also:
LPRINT
PRINT #
PRINT USING
WIDTH
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson