You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##Description
The getenv function is used to access the environment string whose name is symbol. These strings are determined by the shell (command processor) or the program that caused your program to run. See also the nargs and fetcharg functions.
##Example
On a PC, this retrieves the environment variable USERLEVEL and prints extra instructions if USERLEVEL had been set to NOVICE. USERLEVEL can be set to NOVICE with the command SETUSERLEVEL = NOVICE in the autoexec.bat file or in any batch file.
const userLevel : string
userLevel := getenv ("USERLEVEL")
if userLevel = "NOVICE" then
� % put a set of instructions
end if