l := InitString (':a:b:c:d:e:o:s:hx:y:') ;
s := NIL ;
arg := NIL ;
- ch := GetOpt (UnixArgs.ArgC, UnixArgs.ArgV, l,
+ ch := GetOpt (UnixArgs.GetArgC (), UnixArgs.GetArgV (), l,
arg, optind, opterr, optopt) ;
WHILE ch # nul DO
CASE ch OF
exit (1)
END ;
arg := KillString (arg) ;
- ch := GetOpt (UnixArgs.ArgC, UnixArgs.ArgV, l,
+ ch := GetOpt (UnixArgs.GetArgC (), UnixArgs.GetArgV (), l,
arg, optind, opterr, optopt)
END
END HandleOptions ;
(* A trivial test to test for the existence of UnixArgs and SYSTEM. *)
-FROM UnixArgs IMPORT ArgV, ArgC ;
+FROM UnixArgs IMPORT GetArgV, GetArgC ;
FROM SYSTEM IMPORT ADDRESS ;
VAR