Characters Recognized by BASIC

Characters Recognized by BASIC

The BASIC character set includes all characters that are legal in BASIC commands, statements, functions, and variables. The set comprises alphabetic, numeric, and special characters.

The alphabetic characters in BASIC are the uppercase and lowercase letters of the alphabet.

The numeric characters in BASIC are the digits 0 through 9.

The following special characters and terminal keys are recognized by BASIC:

=Equal sign or assignment symbol.
+Plus sign or string concatenation.
-Minus sign.
*Asterisk or multiplication symbol.
/Slash or division symbol.
^Caret, exponentiation symbol, or CTRL key.
(Left parenthesis.
)Right parenthesis.
%Percent or integer declaration.
#Number sign or double-precision declaration.
$Dollar sign or string declaration.
!Exclamation point or single-precision declaration.
[Left bracket.
]Right bracket.
""Double quotation marks or string delimiter.
.Period, dot, or decimal point.
'Single quotation mark, apostrophe, or remark indicator.
;Semicolon or carriage return suppressor.
:Colon or line statement delimiter.
&Ampersand or descriptor for hexadecimal and octal number conversion.
?Question mark.
<Less than symbol.
>Greater than symbol.
\Backslash or integer division symbol.
@"At" sign.
BACKSPACEDeletes last character typed.
ESCErases the current logical line from the screen.
TABMoves print position to next tab stop. Tab stops are every eight columns.
CURSORMoves cursor to next physical line.
RETURNTerminates input to a line and moves cursor to beginning of the next line, or executes statement in direct mode.

Basic commands