Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Command-line-arguments/CLU/command-line-arguments.clu
Normal file
14
Task/Command-line-arguments/CLU/command-line-arguments.clu
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
% This program needs to be merged with PCLU's "useful.lib",
|
||||
% where get_argv lives.
|
||||
%
|
||||
% pclu -merge $CLUHOME/lib/useful.lib -compile cmdline.clu
|
||||
|
||||
start_up = proc ()
|
||||
po: stream := stream$primary_output()
|
||||
|
||||
args: sequence[string] := get_argv()
|
||||
|
||||
for arg: string in sequence[string]$elements(args) do
|
||||
stream$putl(po, "arg: " || arg)
|
||||
end
|
||||
end start_up
|
||||
Loading…
Add table
Add a link
Reference in a new issue