Basic
GET (xl, y1)-(xZ,yZ),array
Graphics. Transfers points from an area on the display to an array.
(x1,yI)
are the coordinates at which the image begins.
(x2,yZ)
are the coordinates at which the image ends.
Array
is a numeric array to hold the image.
GET
(0,0>- (100, 1001,
Z
GOSUB line
Branches to the subroutine, beginning at
line.
Every subroutine must
end with a RETURN statement.
GOSUB
1000
GOTO line
Branches to the specified
line.
GOTO
100
IF
R
=I3
THEN
GOTO80
HE X$(number)
Returns a string that represents the hexadecimal value of
number.
PRINT
HEX$(30>
Y$
=
HEX$(X/16)
IF
expression THEN statement(s)[ELSE statement(s)]
Tests a conditional expression and makes a decision regarding pro-
gram flow.
If
expression
is
true, BASIC executes the THEN
statement.
If
expression
is false, BASIC executes the matching ELSE
statement
or the next program line.
IF
A
<
B
THEN
PRINT
"A
<
B"
ELSE
PRINT
"B
<=
A"
Tandy
1000
35