 |
|
 |
|
Name |
|
Syntax |
|
Description |
|
PAUSE |
|
PAUSE n |
|
Pause processing for n/50 seconds. |
|
RENUM |
|
RENUM n,i,j |
|
Renumber the program starting at line #n, first number is #i, increment
is #j. This function will handle GOTOs, TRAPs, and all other line
references except those which involve variables or computed values. |
DEL |
|
DEL n,i |
|
Delete lines n-i. |
|
DUMP |
|
DUMP |
|
Display all variables and values. For numeric arrays, the numbers are
the DIMed values plus one. For strings, the first number is the current
LENgth of it and the second number is the DIMed size of it. DUMP also
lists procedure names and labels with their line values. |
|
DUMP |
|
DUMP name |
|
DUMP to device, such as "P:" or "D:DUMP.DAT". |
|
TRACE |
|
TRACE |
|
Trace program during execution. |
|
TRACE |
|
TRACE - |
|
Turns trace mode off (Default). |
|
DSOUND |
|
DSOUND n,f,d,v |
|
Form of SOUND which activates channel-pairing for increased frequency
range. |
|
DSOUND |
|
DSOUND |
|
Turns off all sounds. |
|
GO TO |
|
GO TO n |
|
Alternate form of GOTO. |
|
*L |
|
*L |
|
Turn line-indent on (Default). |
|
*L |
|
*L - |
|
Turns line-indent off. |
|
*F |
|
*F (or *F +) |
|
Special mode for FOR..NEXT loops which corrects a bug in Atari BASIC.
Seems that in Atari BASIC, an "illegal" reverse loop like "FOR X=2 TO
1:PRINT X:NEXT X" will execute once even though the condition is met
initially (X is already greater than 1). Turbo BASIC fixes this bug,
but leaves it available for Atari BASIC programs which may take
advantage of it. |
|
*F |
|
*F - |
|
Turns off the special FOR..NEXT mode to make Turbo BASIC act like Atari
BASIC. |
|
*B |
|
*B (or *B +) |
|
Command which allows the break key to be trapped via the "TRAP" command
within a program. |
|
*B |
|
*B - |
|
Turns off the special BREAK key mode. |
|
-- |
|
-- |
|
Special form of REM which puts 30 dashes in a program listing. |
|
# |
|
# name |
|
Assigns the current line number to the label name. This is a convenient
way to get around the problem of renumbering when using variables as line
numbers. Labels can be thought of as a special form of variable, as they
occupy the variable name table along with the "regular" variables. We
also believe that the number of variables allowed has been increased from
128 to 256 to allow for the addition of these labels. |
|
GO# |
|
GO# name |
|
Analagous to the GOTO command. |
|
CLOSE |
|
CLOSE |
|
Close channels 1-7. |
|
DIM |
|
DIM a(n) |
|
Will automatically assign a value of zero to all elements of the numeric
array being dimensioned, and null characters to all elements of a string
(The LEN is still variable, however, and initially zero). |
|
GET |
|
GET name |
|
Wait for a key press, assign the value to name. Same as "OPEN
#7,4,0,"K:":GET #7,name:CLOSE #7". |
|
INPUT |
|
INPUT "text";a,b... |
|
Prints text as a prompt before asking for variable(s), same as
Microsoft-BASIC. |
|
LIST |
|
LIST n, |
|
List program from line #n to end. |
|
ON |
|
ON a EXEC n1,n2,... |
|
Variation of ON...GOSUB for procedures. N1, n2 and so on are names of
procedures to be run. ON a GO# n1,n2,... Similar to ON...GOTO except
that line labels are used instead of line numbers.
|
|
POP |
|
POP |
|
This command now pops the runtime stack for all four types of loops. |
|
PUT |
|
PUT n |
|
Same as "PRINT CHR$(n)"; |
|
RESTORE |
|
RESTORE #name |
|
Restores the data line indicated by the label name. |
|
RND |
|
RND |
|
Parentheses are no longer needed at the end of this command, but it will
still work if they are there. |
|
SOUND |
|
SOUND |
|
Turn off all sounds. |
|
TRAP |
|
TRAP #name |
|
TRAPs to the line referenced by the label name. |
|