script0.stx
author convert-repo
Fri, 20 Dec 2019 04:29:09 +0000
changeset 1619 71f3cbb5c172
parent 1510 328cf54d3850
permissions -rwxr-xr-x
update tags

#!stx --script

"/ shows command line arguments
"/
"/ run with:
"/   ./stc --script script0.stx one two three
"/ or:
"/   chmod +x stcript0.stx
"/   ./stscript0.stx one two three

'Command line arguments:' printCR.
'_$0: ' print. _$0 printCR.
'_$n: ' print. _$n printCR.
1 to: _$n do:[:idx |
   ('_$',idx asString,': ') print. (_$$ at:idx) printCR.
].
'_$$: ' print. _$$ printCR.