mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 14:49:10 +02:00
* small test for argv/argc checking
This commit is contained in:
parent
c8b64f79dc
commit
8982ae04bb
18
tests/test/units/system/targs.pp
Normal file
18
tests/test/units/system/targs.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{ %INTERACTIVE }
|
||||
program targs;
|
||||
|
||||
var
|
||||
i: integer;
|
||||
Begin
|
||||
for i:=0 to (argc-1) do
|
||||
Begin
|
||||
WriteLn(argv[i]);
|
||||
End;
|
||||
end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.1 2002-10-19 22:22:33 carl
|
||||
* small test for argv/argc checking
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user