Re: Environment variables and 4GL
Posted in 1992
Quoting Michael Faurot... > > What is the means by which you are accessing the value of the DBPRINT > variable from within your 4GL program? I'm not a regular 4GL > programmer, but I was looking through the manuals the other day and > could not find anything in the index or appendices that told me how to > do it. I can see how to do it easily enough by calling an external C > function and from within C using the getenv() system call, but isn't > there any easier way from within 4GL itself? > If you are using Informix-4GL 4.10, you can use the fgl_getenv() function to read an environment variable. If you don't have 4.10, then you must call a C function to do it. DAS -- David A. Snyder @ Snide Inc. - Folcroft, PA Current Release is db4glgen-3.3 UUCP: ..!uunet!das13!dave INTERNET: Dave.Snyder@snide.com