Basic
LOG(number)
Returns the natural logarithm of
number.
Number
must be greater
than zero.
PRINT LOG(3
.I41
59)
Z
=
10
*
LOG(PS/PI)
LPOS(number)
Returns the logical position of the print head within the printer's
buffer.
Number
can be
0
or
1
to indicate LPT1:.
IF LPOS(X)>60THEN LPRINT
LPRINT [USING format;] data[,data,
...I
Prints
data
on the printer. LPRINT and LPRINT USING assume
a
print width of
132
characters. You may change the width with the
WIDTH statement.
See PRINT and PRINT USING for more information on formatting
the output.
LPRINT
(A
*
2>/3
LPRINT USING
"#####.#";
2.17
LSETfield name
=
data
Moves
data
to the direct access buffer and places it infield
name,
in preparation for a PUT statement.
Field name
is
a string variable
defined in a FIELD statement. You must have used FIELD to set
up buffer fields before using LSET.
Any numeric value that is placed in
a
direct access file buffer with
an LSET statement must be converted to
a
string.
See
MKS$,
MKD$, and MKI$.
LSET
AD$
=
t820Q(a EAST PECAN ST."
LSET TD$=D$
Tandy
1000
43