EasyManua.ls Logo

Tandy 1000 - Page 285

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic
FOR variable
=
initial value
TO
final value
[STEP
increment]
NEXT [variable]
Establishes
a
program loop that allows a series of program
statements to be executed a specified number of times.
Variable
must be either integer or single precision.
Increment
is the number BASIC adds to
initial value
each time the
loop is executed. Default
=
1.
FOR
I
=I
TO
I
+
5:PRINT 1:NEXT
FRE(dummy argument)
Returns the number of bytes in memory not being used by BASIC.
If
you specify
a
numeric argument, BASIC returns the amount of
memory available.
If
you specify a string argument, BASIC com-
presses the data before returning the amount of memory available.
BASIC automatically compresses data if it runs out of workspace.
PRINT FRE("44") PRINT FRE(44)
GET [#]buffeer[,record]
Reads a record from a direct access disk file and places it in the
specified
buffer.
The number sign
(#)
is not required.
Record
is an integer in the range
0
to
16,777,215.
Default
=
the next
sequential record (after the last GET).
GET
1
GET 1,25
GET [#]buffer,number
Communications. Transfers data from the communications line to
the communications buffer. The number sign
(#)
is not required.
Number
is the number of bytes to transfer.
GET
1,8
34
Tandy
1000

Table of Contents

Other manuals for Tandy 1000

Related product manuals