[Gretl-devel] dotdir

Allin Cottrell cottrell at wfu.edu
Thu May 3 12:34:13 EDT 2007


On Thu, 3 May 2007, Allin Cottrell wrote:

> > What's not possible by gretl's design is to use $HOME (or 
> > whatever it's called), or did you already implement Jack's 
> > getenv suggestion?
> 
> Not yet; maybe later today.

Now in CVS:

nulldata 10
string foo = getenv("HOME")
print "@foo"

You get an empty string "" if the variable is not defined.

Allin.


More information about the Gretl-devel mailing list