Anonymous user
Command-line arguments: Difference between revisions
Add Déjà Vu
(added JScript.NET section) |
(Add Déjà Vu) |
||
Line 363:
argument for --hello [asdasd -w qweqwe]
argument for --world [vuvuzela]
=={{header|Déjà Vu}}==
Command line arguments are pushed to the stack, the first one on top. To command line argument parser exists as of yet.
<lang dejavu>try:
set :i 1
while true:
drop dup # some stack manipulation to force
# a stack-empty error before printing
# the next line
print( "Argument #" i " is:" )
.
set :i ++ i
catch stack-empty:
pass #end of argument list</lang>
=={{header|Delphi}}==
|