Modula-2 || Compiler & Tools || Library || Search Engine
PROCEDURE ARGC() : CARDINAL; PROCEDURE ARGV(VAR buffer: ARRAY OF CHAR; argindex: CARDINAL);
ARGC returns the number of command line arguments (incl. command name).
ARGV stores a single command line argument addressed by argindex (ranging from 0 to ARGC()-1) into buffer.
Note that these procedures are inherently inportable and that Arguments should be used instead.
Modula-2 || Compiler & Tools || Library || Search Engine