PUTENV

 

Syntax:

       Then: PUTENV envname,value

 

where "envname" is the name of the environment variable.
"value" is the value to assign to this variable.

 

Note: Any value set through PUTENV is lost upon exit from running the filePro program.

 

Version Ref:  4.5

 

Description:

Stores a environment value in the environment of programs called through the SYSTEM command.

 

Examples:

Run a program that requires "DOC" to point to a document directory.

 

       Then: PUTENV "DOC",getenv("PFDATA") & "/" & getenv("PFDIR") & "/docs"

       Then: SYSTEM "rundoc"