Command-line arguments is part of Short Circuit's Console Program Basics selection.
Scripted main
See also Program name.

For parsing command line arguments intelligently, see Parsing command-line arguments.

Example command line:

myprogram -c "alpha beta" -h "gamma"

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