Hello

your syntax error is that instead of:

 int iNum(4);

you should have:

 int(4) iNum;


-----Original Message-----
From: Ward, Justin [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Thursday, June 15, 2000 9:04 AM
To: [EMAIL PROTECTED]
Subject: [gxnet]: integer arrays in GX Developer


              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
<http://www.geosoft.com/support/listserv/index.html> 


_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

Reply via email to