Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Characters, Types, and Symbols
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Characters, Types, and Symbols
■ The Visual Basic character set includes:
• Alphabetic characters (A-Z, a-z)
• Numeric characters (0-9 and A-F or a-f for hexadecimal numbers)
• Special characters
■ Some characters represent data types, mathematical operators, or have
other special meanings:
Grouping Symbol Description
══════════════════ ══════ ═══════════════════════════════════════════
Data type suffixes % Integer (2-byte)
& Long-integer (4-byte)
! Single-precision (4-byte floating-point)
# Double-precision (8-byte floating-point)
$ String
@ Currency (8-byte signed integer)
Mathematical + Addition
operators - Subtraction
* Multiplication
/ Division
\ Integer division
^ Exponentiation
. Decimal point
= Relational or assignment operator
> Greater than
< Less than
Special meanings ' Denotes the beginning of a comment line
; Controls output from PRINT and INPUT
, Controls output from PRINT and INPUT
: Separates multiple statements on one line
? Denotes a prompt for INPUT (only during
program execution)
_ Denotes a line continuation; not allowed
when creating programs in the Visual Basic
programming environment (VBDOS.EXE)