mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-03 12:38:19 +00:00
Sysargs
This commit is contained in:
parent
c09a3b36b6
commit
33ec55e76e
6 changed files with 41 additions and 1 deletions
7
regression/x86only/test009.expr
Normal file
7
regression/x86only/test009.expr
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
local i;
|
||||
|
||||
printf ("Number of commands-line arguments: %d\n", sysargs.length);
|
||||
|
||||
for i := 0, i < sysargs.length, i := i + 1 do
|
||||
printf (" arg [%-2d] = %s\n", i, sysargs[i].string)
|
||||
od
|
||||
Loading…
Add table
Add a link
Reference in a new issue