06-01-2006, 10:56 PM
When i try to define an ARRAY variable inside a user defined type i can only define it as a pointer to ARRAY.
Although the help file mentions it can be used (with example), QM gives error about unexpected char.
Here is an example code (not working) with the error by QM:
And here is an example code (working):
The workaround i made was to define it as a pointer and assign the address of a global ARRAY variable.
Like this:
So am i doing something wrong or is the first usage bugged?
*edit*
The current QM version im using is the 2.1.8.beta
Although the help file mentions it can be used (with example), QM gives error about unexpected char.
Here is an example code (not working) with the error by QM:
And here is an example code (working):
The workaround i made was to define it as a pointer and assign the address of a global ARRAY variable.
Like this:
type tJob
int'iCurrent
int'iAction
int'iNext
int'iText
ARRAY(POINT)*Area
ARRAY(POINT)+ gActionAreaArray
tJob+ Job
Job.Area = &gActionAreaArray
So am i doing something wrong or is the first usage bugged?
*edit*
The current QM version im using is the 2.1.8.beta
Well thats all for now, 3M