script0.stx
author convert-repo
Tue, 18 Jun 2019 03:27:33 +0000
changeset 1596 4ac5e290ee0e
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.