script0.stx
changeset 1510 328cf54d3850
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/script0.stx	Wed Jun 14 15:12:40 2017 +0200
@@ -0,0 +1,17 @@
+#!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.