NAME
PRINT USING, LPRINT USING Statements
SYNOPSIS
PRINT [#filenumber%,] USING formatstring$; expressionlist [{; | ,}]
LPRINT USING formatstring$; expressionlist [{; | ,}]
o filenumber% The number of an open sequential file.
o formatstring$; A string expression containing one or more
format specifiers .
o expressionlist A list of one or more numeric or string expressions
to print, separated by commas, semicolons, spaces,
or tabs.
o {; | ,} Determines where the next output begins:
; means print immediately after the last value.
, means print at the start of the next print zone.
Print zones are 14 characters wide.
DESCRIPTION
PRINT USING, LPRINT USING Statements
PRINT USING writes formatted output to the screen or to a file.
LPRINT USING prints formatted output on the printer LPT1.
Example:
a = 123.4567
PRINT USING "###.##"; a
LPRINT USING "+###.####"; a
a$ = "ABCDEFG"
PRINT USING "!"; a$
LPRINT USING "\ \"; a$
SEE ALSO
PRINT LPRINT WIDTH WRITE