Hi there,
I found some infos how to use the getenv() function in the manuel for e.g.
'USER'. Did you mean that Jack?
I think in terms of an automatic parse fucntion the getline() fucntion
would be needed and sscanf().
Cheers
Leon
2013/10/7 Riccardo (Jack) Lucchetti <r.lucchetti(a)univpm.it>
On Mon, 7 Oct 2013, Pindar wrote:
Btw, ever thought of offering a 'parse function' that automatically
> recognizes variables presented in this form in a txt file:
>
> scalar num01=100
> string strdir="c:\\"
> ...
>
> I ask since it would be a way similar to R batch files where one can pass
> arguments.
>
I suspect you'll find the getenv() and ngetenv() functions very nice.
------------------------------**-------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/**servizi/hpp/lucchetti<http://www2.econ.un...
------------------------------**-------------------------
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users