script1.stx
author Claus Gittinger <cg@exept.de>
Sat, 13 Oct 2018 18:17:08 +0200
changeset 1583 825a2629e6d7
parent 1498 71eac66f2d96
permissions -rwxr-xr-x
*** empty log message ***

#!/usr/bin/env stx --script

"/
"/ on any system:
"/      "stx --script script1.stx
"/ or:
"/      "stx --f script.stx"
"/ or:
"/      "stx script1.stx"
"/
"/ on Unix:
"/      make this file executable,
"/      ensure that stx is in your path,
"/      then type ./script1.stx
"/
"/ will just print some numbers
"/
1 to:10 do:[:i |
   ('the factorial of %1 is %2'
	bindWith:i with:i factorial) printCR
].