Valid on UNIX and Windows
The EnvImport function imports environment variables from a text file.
This environment function has the format:
EnvImport(filename as String) as Boolean
Defines the name of the file.
On successful completion, the function returns TRUE; otherwise, it returns FALSE.
Example: EnvImport function
This example imports additional env variables from a file.
EnvImport("c:\temp\env.dat")
C:\temp\env.dat contains for example:
Xantippe=greek Yokohama=japanese Fuel=explosive
|
Copyright © 2013 CA.
All rights reserved.
|
|