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.
Elementary Data Types - Strings
◄Data Types► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Elementary Data Types - Strings
There are two kinds of strings:
■ Variable-length string
A variable-length string can contain up to 32,767 characters.
The codes for these characters range from 0-127 for regular ASCII
(American Standard Code for Information Interchange) characters, and
from 128-255 for the extended-ASCII characters. See the online
◄ASCII Character Codes Table► for examples of each type.
■ Fixed-length string
A fixed-length string contains a declared number of characters,
no more than 32,767.
Like variable-length strings, a fixed-length string contains
characters with codes ranging from 0-255.