|
|
|
|
|
by igouy
1473 days ago
|
|
"6.18 Saving code in a file" Pharo 9 by Example, page 75 https://books.google.com/books?id=hfpwEAAAQBAJ&lpg=PA75&ots=... > In Smalltalk there is no such thing as source files... $ cat fact.st
Stdio stdout
nextPutAll: 100 factorial printString;
nextPut: Character lf.!
SmalltalkImage current snapshot: false andQuit: true!
$ bin/pharo --headless Pharo10-SNAPSHOT-64bit-502addc.image fact.st
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
|
|