EasyManuals Logo

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 #30 background imageLoading...
Page #30 background image
String
Constants
A string
constant
is a string
of
characters
(including letters,
nllmhers,
span~s,
symhols, etc.) enclosed
in
Cluotes.
Spaces
within
string
constants
are
not ignored and
are
counted as
characters
in
the string. All
characters
on the keyboard that
can
be displayed
may
be
used
in
a
string
constant
A
string
const:;mt
is
1imitpcl
hy
thp
length
of
the input line (112
characters
or four lines on the screen).
When a
PRINT
or DISPLAY
statement
is performed, the
surrounding quote
marks
are
not displayed,
If
you wish to have
words or
phrases
within a
string
printed with surrounding quote
marks,
simply
enter
a
pair
of adjacent quote
marks
(double
quotes)
on
either side of the particular word or phrase when you
type it.
11-10
Examples:
>NE'"
>100 PRINT
"HI!"
>110
PRINT
"T~IS
IS
A
STI1TNC,
CONSTANT.
"
>120
PR
INT
"ALL
CHARACTERS
(+
-*1
@,)
MAY
BE
USED."
>130
~ND
>RUN
HI!
THIS IS
A
STRING
CONSTANT.
~LL
CHARACTERS
(+-*1
@r)
MAY
BE
USED.
**
DONE
**
>100
PRINT
"TO
PRINT
""QUOTE
MARKS""
VOU
MUST
USE
DOUBLE
QUOTES."
>110
PRINT
>120
PRINT
"TOM
SAID,
""HI,
M
ARy!"nn
>130
ENO
>RUN
TO
PRINT
"QUOTE
MARKS"
YOU
M
LIST
USE
OOUBLE
QUOTES.
TOM
SAID,
"HI,
MARV!"
**
DONE
**
User's Reference
Guide

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