[comp.databases] Is it possible...

trodgers@nmsu.edu (Thomas Rodgers) (05/22/91)

Is it possible to get the value of environment variables
in Foxpro?

Is it possible to get information from the dos command line
that started a fox program??

Thanks
Tom Rodgers  (aka trodgers@nmsu.edu)

pew@cs.brown.edu (Peter E. Wagner) (05/22/91)

In article <TRODGERS.91May21150048@dante.nmsu.edu>, trodgers@nmsu.edu (Thomas Rodgers) writes:
|> Is it possible to get the value of environment variables
|> in Foxpro?
|> 
|> Is it possible to get information from the dos command line
|> that started a fox program??
|> 
|> Thanks
|> Tom Rodgers  (aka trodgers@nmsu.edu)

It is possible to get the value of environment variables.  I believe
the function name is getenv(<dos env var name>).  I don't know about
getting information from the command line that started the program.

    Peter


-- 
----------------------------------------------------------------
Peter E. Wagner          (401)863-7685        pew@cs.brown.edu
Department Computer Science   Box 1910        pew@BROWNCS.BITNET
Brown University, Providence, RI 02912        uunet!brunix!pew

Woody Allen when asked if he thought sex was dirty;
                                           `If you do it right.'
----------------------------------------------------------------