![]() ENV() Function - Get O/S Environment VariablesSyntaxENV(str{,IND=int}{,ERR=lineref}) DescriptionIn BBj 4.0 and higher, the ENV() function returns the value of a specified operating system environment variable.
If the specified environment variable does not exist, an !ERROR 11 is returned. RemarksBy default, the ENV() function returns the environment of the server. In BBj 4.0 and higher, this can be changed to return the environment of the client by setting SETOPTS bit 8, $08$. Examples
See AlsoFunctions - Alphabetical Listing ______________________________________________________________________________________ Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks. |