Savem; While L<5 - Epson TF-20 Reference Manual

Hx-20 disk basic
Hide thumbs Also See for TF-20:
Table of Contents

Advertisement

SAVEM

To save the memory contents on a specified file.
SAVEM <file descriptors <top address>,
<bottom address>, <execution starting address>
SAVEM "B:ABC", &H0B00, &H0C00, &H0B00
SAVEM saves a machine language program or memory
contents on a specified file
<top address> and <bottom address> indicate the range of
the memory contents to be saved on the specified file
If the <V> option is specified, program verification (CRC
check) is performed after SAVEM is executed If a device
other than the microcassette recorder is used, the <V>
option will be ignored
Execution of machine language program loaded into the
memory by a LOADM command will begin at <execution
starting address> Even if the data saved is not a machine
language program <execution starting address> cannot be
omitted and the same value as the <top address> must be
set
(See LOADM )
4-28
WHILE . . . WEND
To conditionally execute the statements in a loop.
WHILE <expression>
[<loop statements>]
WEND
WHILE l<5
WEND
If the condition in <expression> is true, the <statements>
will be executed until the WEND is encountered Then,
BASIC returns to the WHILE statement and evaluates it If it
is still true, the same operation is repeated If it is no longer
true, program execution moves to the statement immediate-
ly following the WEND statement WHILE
can be nested as deeply as the capacity of the memory will
allow Each WEND will correspond to the nearest previous
WHILE A WHILE without a WEND will cause a WE error and
a WEND without a WHILE will result in a WH error
4-29
WEND loops

Advertisement

Table of Contents
loading

Table of Contents