Re: Do you cheat with GLOBALS?
Posted in 1994
In article <2p8qeg$b2j@emory.mathcs.emory.edu> johnl@informix.com (Jonathan Leffler) writes: >Hi, > >Do you cheat with GLOBALS? [ deleted ] I have never encountered the situation you describe where multi-file access to globals is by any means other than a globals "filename" statement. (single-file access is a non-issue) Notwithstanding my experience, on page 7-125 of the Informix-4GL Reference Manual version 4.0, the overview defines two forms of GLOBALS statements. One DEFINEs variables, the other refers to the file where variables are DEFINED. On the same page, Note 1 clearly states "You may have at most one GLOBALS statement where globals variables are defined." In the scenario you described there are *two* GLOBALS statements that *define* variables. My opinion of course. Scott