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@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@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users