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 #48 background imageLoading...
Page #48 background image
RESEQUENCE
~
RESEQUENCE
t [initial·linell ,incrementl
IRES
~
When the
RESEQUENCE
command
is
entered,
all lines in
the
program
are
assigned
new
line
numbers
according
to the specified
initiaJ-line
and
increment.
The
new line
number
of
the
first line in the
program
is the specified
initial·line.
Succeeding
line
numbers
are
assigned
using
the
specified
increment.
If
no initial-line
and
no
increment
are
specified, then IOU is
used
as
the initial·line
and
lOis
used
as
the increment.
If
you specify only
an
initial'line
then
lOis
used
as
the increment.
If
you
specify
just
an
increment,
then
100
is
used
as
the
initial-line.
Note
the
COmma
before
the
five
in
the example,
Remember,
if you
wish to specify only
an
increment, the
comma
must
be typed
before
the
increment.
All line
number
references in
TI
BASIC
statements
contained
in
the
program
are
changed
to the
new
line numbers. Line
numbers
which may be mentioned in the
REM
statement
are
not
changed
since they
are
not essential to the
running
of the
program.
11·28
Examples:
>NEW
>100
A.27.9
>110
8·34.1
>120
PRINT
A;B
>130
END
>RESEQUENCE
20,5
>LIST
20
A·27.9
25
8=34.1
30
PRINT
A;B
35
END
)oRES
>LIST
100
A"'27.9
110 B"'34.1
120
PRIIH
A,S
130
END
>RES
50
>LIST
50
A·27.9
60
8·34.1
70
PRINT
A;B
80
END
>RES
,5
>LIST
100
A.Z7.9
105
8·34.1
110
PRINT
A;B
115
END
)oNEW
>100
REM
THE
VALUE
OF
"A"
Wll
L
BE
PRINTED
IN
LINE
120
>110
A~A+1
>120
PRINT
A
>130
GO
TO
110
>RESEQUENCE
10,5
>LIST
10
REM
THE
VALUE
OF
"A"
WIL
L
BE
PRINTED
IN
LINE
120
15
A=A+1
20
PRINT A
25
GO
TO
1S
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