EasyManuals Logo
Home>Texas Instruments>Desktop>TI-99/4A

Texas Instruments TI-99/4A User Reference Guide

Texas Instruments TI-99/4A
204 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
PRINT
PRINT
lprint-list)
(For information on using the
PRINT
"t::Jtp.mp.nt
with files.
see
the "File Processing" section.)
The
PRINT
statement
lets you print numbers and strings
on
the
screen.
The
print-list consists of
print·items - numeric expressions
and
string expressions
which print
on
the
screen
and tab.functionc; whir.h control
print positioning (similar to
the
TAB key
on
the typewriter).
print'separators - the punctuation between print·items
(commas, colons,
and
semicolons) which serves as
indicators for positioning
data
on
the print-line.
When the computer performs a
PRINT
statement, the values of the
expressions in the
print-list
are
displayed on the screen in order
from left to right,
as
specified by the print-separators and
tab-functions.
Printing Strings
String
expressions
in
the print·list
are
evaluated to produce a string
result.
There
are
no
blank
spaces inserted before
or
after a string.
If
you wish to print a
blank
space
before or after a
string,
you can
include
it
in the string
or
insert
it
separately with quotes.
Printing Numbers
Numeric expressions in the print-list are evaluated to produce a
numeric result
to
be printed. Positive
llumbers
are
printed
with a
leading space (instead of a plus sign) and negative numbers
are
printed with a leading minus sign. All numbers
are
printed with a
trailing space.
User's Reference Guide
Examples:
>NEW
>100
A=10
>110
B=20
>120 STRINGS"'''TI
COMPUTER"
~130
PRINT
A;B:STRINGS
>140
PRINT
"HELLO,
FRIEND"
>150
END
>RUN
10
'0
TI
COMPUTER
HELLO,
fRIEND
**
DONE
**
>NEW
>100 N$="JOAN"
>110 MS="HI"
>120
PRINT
M$;N$
>130
PRINT
MS&"
"&N$
>140
PRINT
"HELLO
"iNS
>150
END
>RUN
HIJOAN
HI
JOAN
HELLO
JOAN
**
DONE
"*
>NEW
>100
LET
A=10.2
>110
8;-30.5
>120 C=16.7
>130
PRINT
A;B;C
>140
PRINT
A+B
>150
END
>RUN
10.2
-30.5
16.7
-20.3
*"
DUNE
**
11·65

Other manuals for Texas Instruments TI-99/4A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-99/4A and is the answer not in the manual?

Texas Instruments TI-99/4A Specifications

General IconGeneral
BrandTexas Instruments
ModelTI-99/4A
CategoryDesktop
LanguageEnglish

Related product manuals