This section lists the words and symbols used to make up the BASIC 7.0 language. These words and symbols cannot be used within a program as other than a component of the BASIC language. The only exception is that they may be used within quotes in a PRINT or LET statement.
|
Symbol |
Use(s) |
| + |
Plus sign |
Arithmetic addition; string concatenation; relative sprite movement; declare decimal number in machine language monitor. |
| - |
Minus sign |
Arithmetic subtraction; negative number; unary minus; relative sprite movement. |
| * |
Asterisk |
Arithmetic multiplication. |
| / |
Slash |
Arithmetic division. |
| ^ |
Up arrow |
Arithmetic exponentiation. |
| |
Blank space |
Separate keywords and variable names. |
| = |
Equal sign |
Value assignment; relationship testing. |
| < |
Less than |
Relationship testing. |
| > |
Greater than |
Relationship testing. |
| , |
Comma |
Format output in variable lists; separate multiple function parameters in commands or statements. |
| . |
Period |
Decimal point in floating constants. |
| ; |
Semicolon |
Format output in variable lists. |
| : |
Colon |
Separate multiple BASIC statements on a program line; logical end of line in machine language monitor. |
| " " |
Quotation mark |
Enclose string constants |
| ? |
Question mark |
Abbreviation for the keyword PRINT; logical end of line in machine language monitor. |
| ( |
Left parenthesis |
Expression evaluation and functions. |
| ) |
Right parenthesis |
Expression evaluation and functions. |
| % |
Percent |
Declare a variable name as integer; declare binary number in machine language monitor. |
| # |
Hash |
Precede the logical file number in input/output statements. |
| $ |
Dollar sign |
Declare a variable name as a string; declare hexadecimal number in machine language monitor. |
| & |
And sign |
Declare octal number in machine language monitor. |
| {pi} |
Pi |
Declare the numeric constant - approximately 3.14159265 |