This interface provides access to the environment variables given
to a process when it is started (see Process.Create).
\index{environment variables}
\index{process!environment variables}
INTERFACEEnv ; PROCEDURE Get(nm: TEXT): TEXT;
Return the value of the environment variable whose name is equal tonm, orNILif there is no such variable.
VAR (*CONST*) Count: CARDINAL;
Environment variables are indexed from0toCount-1.
PROCEDURE GetNth(n: CARDINAL; VAR (*OUT*) nm, val: TEXT);
Setnmandvalto the name and value of the environment variable with indexn. It is a checked runtime error ifn >= Count.
END Env.