Basic Programming - Toshiba HX-10 Owner's Manual

Home computer
Hide thumbs Also See for HX-10:
Table of Contents

Advertisement

BASIC PROGRAMMING

1.
Your
Toshiba computer
BASIC
language
(1)
The
BASIC
language
Commands
Used to create, execute, edit or control
Statements
BASIC
A
assigned
its
line
own
Functions
— Always
special
manipulation
is
(2) What
program?
a
a
set
A
is
of
program
computer executes statements
number.
line
Line
Consists
of
element
descriptive
and
between 0
65529.
number
line
Eg.
19
20
Multi-statement
— While
one
statement
separated
statement
Line number
PRINT "TOSHIBA"
E.g.
15
Note
should be noted,
It
statements:
RETURN,
REM, END,
Execution during command
(3)
the command
In
wait
the
entered
from
keyboard or to
e
Immediately after the
the
computer enters the command
stopped,
screen.
e
Ifthe
and
(==)
(_*=
execution, the
computer
Program entry
1)
entered
the
from
keyboard,
execution
2) Direct
it,
attached
the computer
to
press the
simultaneously
state.
list
of
a
performs
includes
commands,
consists
program
number.
used
statements
in
numerals or characters. Functions
of
statements
commands
or
order
in
number and one
line
a
a
program. The specifiable range
BASIC
in
statement
PRINT "TOSHIBA"
"COMPUTER"
PRINT
each
normally consists
line
colons(:) may
by
:
statement
statement
:
BEEP
PRINT "MICRO"
:
:
that no statement
however,
and
GOTO,
ON
state
wait
state,
the
computer
generate
is
switched on or program execution
computer
|
are
keys
simultaneously
the
stops
execution
a
command
or statement
If
the computer regards
command
a
If
or
immediately
("=_
and
==]
instructions which
and
statement,
BASIC programs.
set
statements
of
a
of
you special numeric operations or
to allow
which
are arranged
the
smallest
— from
statements.
or
more
of
only
be used
a
in
single
statement
:
BEEP
:
allowed to
is
GOTO
is
execute
ready to
codes.
program
with
wait
state,
pressed
during program or
and enters
the command
is
preceded
as
line of
a
it
is
entered
statement
executes
stop direct execution,
To
it.
the
computer
]keys;
called a program.
are
functions.
in
each,
principle,
be used
alone.
can
not
The
order.
in
to
line number
the largest
A
the
line is
most basic
numbers
of
line
one
statement, more
numbers.
line
to save
line
statement
:
:
GOTO
15
:
the
follow
following
statement
command
a
or
is
completed or
appearing
on
"Ok"
command
wait
state.
line
number
a
by
a
program.
number
with
line
no
will
command
enter
the
is
than
the
it
is
when
wait

Advertisement

Table of Contents
loading

Table of Contents