Radio Shack Pro-2032 Specifications Page 57

  • Download
  • Add to my manuals
  • Print
  • Page
    / 72
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 56
5-6-7
Multistatement
A multistatement
is
used
to
connect
two
or
more commands using a
Example:
I
~
' I
(colon).
10
20
30
10
20
A=2
}
B=
1e
10
A=2:B=
1
e:C=50
C=50
PR
I
NT
"NO."
;N;
}
1
e
PR
I
NT
"NO."
;N;:
INPUT A
INPUT
A -
5-6-8
Stop
Command
STOP statement
A STOP statement
is
a command
to
stop program execution temporarily. When a
program
is
stopped using this command,
press
the
lED
Key
to
resume program
execution.
Any
number
of
STOP commands
can
be
written
in a program.
5-6-9 End Command
END
statement
An
END statement
is
a command
to
terminate program execution. Program execution
cannot
be
resumed
as
it
can
with
a STOP statement.
END
statement
is
written
at
the end
of
a program. When a subroutine
follows
the main
program, be sure
to
write
an
END statement
at
the end
of
the main routine.
5-6-10 Execute Command
RU
N command
A RUN command
is
used
to
execute a program.
It
cannot
be
used
by
writing
it
in
a
program.
Format: RUN
(line number]
(Item in brackets may
be
omitted)
When
followed
by
a line number, the program
will
start
from
that
line number.
If
it
is
omitted,
the program
will
start
from
the
initial
line.
Example;
RUN
II
..
· start
from
the beginning
RUN
20'.·········
start
from
line
20
RUN 55111····..... start
from
line
55
When the designated line number does
not
exist, execution
will
start
from
the line
with
the next nearest line number.
-54-
Page view 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 71 72

Comments to this Manuals

No comments