According to the C5 doco I can use a GROUP,TYPE to define the structure of a QUEUE. I can’t seem to get it to work. I’m not sure if the doco is correct or it’s a bug or I’m not understanding correctly. Perhaps someone can shed some light?
In the APP/Global Data I declare a GROUP,TYPE first:
POSTCODEGT GROUP,TYPE Suburb STRING(40) State_Territory STRING(3) Postcode STRING(4) END
and then create a QUEUE,TYPE using the GROUP,TYPE to give it (inherited) structure:
however when I use the QUEUE,TYPE as a parameter/prototype in a procedure, when I call that procedure I get:
Syntax Error: No matching prototype available
Syntax Error: Parameter kind does not match
If I declare the QUEUE,TYPE identically to the GROUP,TYPE no error.
Is it me or C5?