EasyManua.ls Logo

Tandy 1000 - Page 307

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic
PO
S(number)
Returns the current column position of the cursor.
Number
is
a
dummy argument.
IF
POS(X)
>
70
THEN
IF
A$=
CHR$(32)
THEN
A$=
CHRS(13)
PRINT
data[,
data..
.]
Prints numeric or string
data
on the display. You can substitute
a
question mark
(?)
in place of the word PRINT.
If you use commas, the cursor automatically advances to the next
tab position before printing the next item.
If you use semicolons or spaces to separate the data items, PRINT
prints the items without any spaces between them.
P
R
I
N
T
It
D
0"
;
"NOT"
;
@I
LE
A
V
E"
;
'IS
PA
C
E
S
PRINT "THE TOTAL IS",TTL
PRINT USING
format;
data[,data
...I
Prints data using a format you specified. This statement is especially
useful for printing report headings, accounting reports, checks, or
any other documents that require
a
specific format.
Format
consists of
1
or more field specifier(s), or any alphanumeric
character.
Format
must be enclosed in quotation marks.
Data
may be
a
string and/or numeric value(s).
Specifiers for String Fields:
I
\
spaces
\
&
prints only the first character in the string.
prints
2
+
n
characters from the string.
(N
is the number
of spaces between the slashes.)
prints the string without modifications.
56
Tandy
1000

Table of Contents

Other manuals for Tandy 1000

Related product manuals