EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #291 background imageLoading...
Page #291 background image
ChaDter
10
I
BASIC
Kevwords
RENUM
Statement
RE
NUM
[new
Line1
[
[I
inel
[
increment1
I
Renumbers the program currently in memory. You can renumber
the entire program
or
renumber from a specific line
to
the end.
Line
is the line in the program where BASIC starts renumber-
ing. If you omit
line,
it renumbers the entire program.
New line
is the new line number assigned
to
line.
If you omit
new line,
BASIC starts numbering
at
Line 10.
Increment
tells BASIC how to number the successive line. If you
omit
increment,
it increments by 10.
RENUM also changes all line number references appearing after
GOTO, GOSUB, THEN, ON/GOTO, ONiGOSUB, ON
ERROR
GOTO,
RESUME, and ERL.
You cannot use RENUM
to
change the order
of
program lines.
For example, if
a
program has lines numbered 10, 20, and 30,
the command RENUM 15,30 is illegal, since this would place
Line 30 before Line 20.
Also RENUM cannot create line numbers greater than 65529. If
you attempt to do this, BASIC returns an “Illegal function call”
error and leaves the program unchanged.
If BASIC finds an undefined line number within the program, it
prints
a
warning message, “Undefined line
xxxx
in
yyyy,”
where
xxxx
is the undefined line number and
yyyy
is
the line where it
appears. RENUM renumbers the program despite this warning
message. It does not change the incorrect line number reference,
but it does renumber
yyyy.
289

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals