Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Billy Wheeler" — — source: Informix-list mailing list archive (1991-1998)
> This is probably a simple 4GL question. However, I have no 4GL
> documentation (or training), and even less time. How can I get an environment
> variable into a 4GL variable...staying 100% within the 4GL? I read the FAQ
> Appendix B example for reading a text file. That helped. But, I think I need
> an example that's a little more similar to my needs.
Scott,
In 4.1x there is a function called fgl_getenv().
For example:
LET string = fgl_getenv("DBDATE")
HTH.
--
Cheers,
Billy
-----------------------------------------------------------
e-ddress: billy.wheeler@pixie.co.za
Work: +27 11 803 2151
Fax: +27 11 803 2189
Cell: +27 83 250 2324
GCM/CS d++(--) h--- s+:++ !g p?+ au++ a? w+ v++/* C+++ 3 k-
UCLAVH++++ p+++ L++ E-- N++ W--- M" V-- -po+ y+ t+ !5 j++
R+ G? tv+ b+++ D+ B-- e+ u** h----(++) f+ r+++ !n z++++/**
-----------------------------------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.