AT&T 6300 Programmer's Manual page 66

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Variable Types
0/0
#
PI#
MINIMUM!
LlMIT%
N$
ABC
3-8
Numeric variable names may declare integer,
single precision, or double precision values.
The type declaration characters for these
variable names are as follows:
Integer variable
Single precision variable
Double precision variable
The default type for a numeric variable name
is single precision. Examples of GWBASIC
variable names:
Declares a double precision value.
Declares a single precision value.
Declares an integer value.
Declares a string value.
Represents a single precision value.
There is a second method by which variable
types may be declared. The GWBASIC
statements DEFINT, DEFSTR, DEFSNG, and
DEFDBL may be included in a program to
declare the types for certain variable names.
These statements are described in detail in the
Reference Section.

Advertisement

Table of Contents
loading

Table of Contents