03-03-2003, 07:56 PM
03-03-2003, 08:41 PM
a set of standard variables. As an example, we'll make a user defined type (called MYTYPE) consisting of an INTEGER variable, a SINGLE variable, and an 8-byte string:
TYPE MYTYPE
A AS INTEGER
B AS SINGLE
C AS STRING*8
END TYPE
That defines the type. To use it, you have to DIM a variable as that type, e.g.,
DIM MYVAR AS MYTYPE
To get to the variable A, you would refer to MYVAR.A. And then there's MYVAR.B and MYVAR.C as well.
TYPE MYTYPE
A AS INTEGER
B AS SINGLE
C AS STRING*8
END TYPE
That defines the type. To use it, you have to DIM a variable as that type, e.g.,
DIM MYVAR AS MYTYPE
To get to the variable A, you would refer to MYVAR.A. And then there's MYVAR.B and MYVAR.C as well.
03-04-2003, 02:35 AM
03-04-2003, 01:50 PM
Our proud QBOHO provides all answers