Re: Globals file in SE/4GL v4.00
Posted in 1995
Keith writes:- > > Hi netters, > > Has anybody managed to get the GLOBALS "filename" command to work > correctly in Informix 4GL or RDS v4.00 ? > > When I use the RDS compiler, the globals file is read ok, but when you > tryto run the resultant 4gi, you get variable not defined error > messages. > > If you try to C4GL compile the program, you are presented with > unreferencedsymbol error messages. > > The only way I can find around the problem is to have a GLOBALS DEFINE > section at the start of every program and list every variable that you > require. This is very time consuming when you are using lots of programs > which require the same variables - especially if you change the list of > global variables in any way! > I believe that you are not linking in the GLOBALS module. If you are using the programmer's environment you need to make sure that the GLOBALS module is included in the GLOBALS section, and with C4GL include it as a 4GL module! Malcolm Weallans Online Database Consultancy 2 Arkley Court Maidenhead Berks SL6 2YR Phone 0628-72154 Fax 0628-37463 CIX - onlinedbc