Re: Question about accessing shell variables
Posted in 1996
In article <4dct81$15b@news.asu.edu>, "Lee J. Krawczyk" <yetta@imap1.asu.edu> wrote: >We are new to Informix and are wondering if there is a way to access >shell varibles without calling a C routine to return the value. > >For example, $HOME is set in .profile and I would like to get the value >of $HOME into my program. > >Any suggestions? Thanks. Assuming you're using Informix-4GL... LET l_variable = fgl_getenv("HOME") - Kerry S ------------------------------------,------------------------------------------ Kerry Sainsbury, kerry@kcbbs.gen.nz | THE INFORMIX FAQ v2.4 Oct 95 Quanta Systems, Auckland | kcbbs.gen.nz:/pub/informix/ New Zealand. Work: +64 9 377-4473 | mathcs.emory.edu:/pub/informix/faq/ Home: +64 9 279-3571 | http://www.garpac.com/informix.html