For what it's worth Justin, I get the same error.
BTW, don't try using the ternary operator either :-(
Jim Roy
> From [EMAIL PROTECTED] Thu Jun 15 10:36:17 2000
>
> Dear List,
>
> I need to use an integer array in a GX. Page 10 of the GX
> developer manual states that an integer array can be declared like in the
> following code.
>
> ----------------------------------------------------------------------------
> --------------------------
> NAME = "TEST"
> VERSION = "v1.0"
> DESCRIPTION = "indicates that integer arrays are not
> functional in GX developer"
>
> #include <all.gxh>
>
> int iNum(4);
>
> {
> iNum[1] = 1;
> DisplayMessage_SYS("HELLO","Hello World");
> }
>
> ----------------------------------------------------------------------------
> --------------------------
>
> However the preprocesser/compiler states that there is a
> syntax error on line 7. Why is it so?
>
> Regards,
>
> Justin Ward
> Oasis Montaj 4.3 SP3
> GXC compiler 4.3 SP3
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
>
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html