Friday, January 27, 2012

Character Set of BASIC

The following are the characters valid for GW-BASIC

Character
Meaning
=
Equal sign or assignment symbol
+
Plus sign or string concatenation
-
minus sign
*
Asterisk or multiplication symbol
/
Slash or division symbol
^
Carter, exponentiation symbol, or CTRL key
(
Left parenthesis
)
Right parenthesis
%
Percentage or integer declaration
#
Number sign or double precision declaration

Exclamation point or single precision declaration
[
Left bracket
]
Right bracket
,
Comma
“”
Double quotation marks or string delimiter
.
Period ,dot or decimal point
Single quotation mark, apostrophe, or remark indicator
;
Semi colon or carriage return suppressor
:
Colon or line statement delimiter
&
Ampersand or descriptor for hexadecimal and octal number
?
Question mark
<
Less than symbol
>
Greater than symbol
\
Backslash or integer division symbol
@
“At” sign
__
Underscore
BACK SPACE
Deletes last character typed
ESC
Erases the current line from the screen
TAB
Moves print position to next tab stop. Tab stops are every eight columns.
ENTER
Terminates input to a line and moves cursor to beginning of the next line ,or executes  statement in direct mode.

No comments:

Post a Comment