Copyright (C) 1994, Digital Equipment Corp.
INTERFACE RTArgs;
This interface exports a procedural interface to the command line
arguments/environment variable store, that is independent of
the underlying representation.
PROCEDURE ArgC (): CARDINAL;
Returns the number of command line arguments, less those reserved by the
M3 runtime.
PROCEDURE GetArg (n: CARDINAL): TEXT;
Returns the nth argument. It is a checked runtime error if
n >= ArgC ().
PROCEDURE EnvC (): CARDINAL;
Returns the count of environment variables.
PROCEDURE GetEnv (n: CARDINAL): TEXT;
Returns the nth environment variable. It is a checked runtime error if
n >= EnvC ().
END RTArgs.