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.
DEFtype Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
DEFtype - BASIC declarations that set the default data type
for variables, DEF FN functions, and FUNCTION procedures
Syntax
DEFINT letterrange [,letterrange]...
DEFSNG letterrange [,letterrange]...
DEFDBL letterrange [,letterrange]...
DEFLNG letterrange [,letterrange]...
DEFSTR letterrange [,letterrange]...
■ letterrange has the form
letter1[-letter2]
where letter1 and letter2 are any of the upper or lowercase letters
of the alphabet. Variable and function names beginning with the letters
in letterrange have the type specified by the last three letters of
the keyword (INT, SNG, DBL, LNG, or STR).