[Gretl-devel] environment variables in gretl script
Allin Cottrell
cottrell at wfu.edu
Thu Apr 12 12:13:47 EDT 2007
On Thu, 12 Apr 2007, Allin Cottrell wrote:
> > ? string jojo = "@userdir"
> > Syntax error in command line
> > ? string jojo = @userdir
> > Syntax error in command line ...
>
> > Bug or feature?
>
> Bug, I'd say.
To be more precise, only the first of the above is expected to
work, since a string literal needs quotes around it. The odd
thing is that here it _does_work:
? string jojo = "@userdir"
Saved string as 'jojo'
? print "@jojo"
/home/cottrell/gretl/
Allin.
More information about the Gretl-devel
mailing list