Hi,
I was just wondering if there is a way to define a variable and assign it a value at the same time outside of a function (just below the GLOBALS "glbs.all".
For example
No, unfortunately Informix 4GL is too brain dead for that. Your definition of variable1 when assigned a value must be assigned in the main or some other function.
If you didn't know, in Informix Rapid Development system, RDS, variable is automatically assigned to 0 where in the compiled 4GL it's undefined.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.