LPOS
I LPOS(number)
Function
I
Returns the logical position of the line printer's print head within the
line printer's buffer.
Number
is
a dummy argument.
This function does not necessarily give the physical position of the
print head.
Example
100
IF
LPOSlXl'G0
THEN
LPRINT
LPRINT,
LPRINT
USING
Statement
LPRINT
data,
...
LPRINT USING format; data,
...
Prints data
on
the printer.
See PRINT and PRINT USING for more information.
Examples
LPRINT
IA
*
21/3
prints the value of expression (A * 2)/3
on
the printer.
LPRINT TABl501
"TABBED
50"
moves the line printer carriage to TAB position
50
and prints
"TABBED 50". (Refer to the TAB function).
LPRINT
USING
"*1*1*1##.*1";
2.17
sends the formatted value
bbblD2.2
to the line printer.
2-123