RosettaCodeData/Task/Command-line-arguments/Deja-Vu/command-line-arguments.djv
2014-01-17 05:34:36 +00:00

9 lines
174 B
Text

for i range 0 -- len !args:
print\( "Argument #" i " is " )
. get-from !args i
if has !opts :c:
!print "Ah, the -c option."
if has !opts :four:
!. get-from !opts :four