Dear all,

I just try the following envioenment strings with the hansl script below under winXP.
I testes with both gretl 1.10.90cvs and 1.10.1. The results turned the same. It looks that many of the strings returned null strings. Is this what sven said "... wasn't able to get anything out of it?"

Thanks

Yi-Nung

<hansl>

envString = "TEMP USER HOME gretldir workdir dotdir gnuplot tramo x12a tramodir x12adir"
loop foreach j @envString
    string s=getenv("$j")
    printf "env string $j=**%s**\n",s
endloop

</hansl>

====gretl's output====
gretl version 1.10.90cvs
Current session: 2015-06-22 09:38

? envString = "TEMP USER HOME gretldir workdir dotdir gnuplot tramo x12a \
  tramodir x12adir"
Generated string envString
? loop foreach j @envString
> string s=getenv("$j")
> printf "env string $j=**%s**\n",s
> endloop
? string s=getenv("TEMP")
env string TEMP=**C:\DOCUME~1\yinung\LOCALS~1\Temp**
? string s=getenv("USER")
env string USER=****
? string s=getenv("HOME")
env string HOME=****
? string s=getenv("gretldir")
env string gretldir=****
? string s=getenv("workdir")
env string workdir=****
? string s=getenv("dotdir")
env string dotdir=****
? string s=getenv("gnuplot")
env string gnuplot=****
? string s=getenv("tramo")
env string tramo=****
? string s=getenv("x12a")
env string x12a=****
? string s=getenv("tramodir")
env string tramodir=****
? string s=getenv("x12adir")
env string x12adir=****

Number of iterations: 11