links to this page:
Answer to CommandShell exercise
Overview of CommandShell
CommandShell exercise
Last updated at 4:18 pm UTC on 29 July 2019
Exercise for the Reader:
Which one of the following five command lines will generate
an error, and why?
$ stdout nextPutAll: 'hello world'
$ stdout nextPutAll: 'hello world'; cr
$ stdout nextPutAll: 'hello world'!
$ stdout nextPutAll: 'hello world'; cr!
$ stdout nextPutAll: 'hello world'!; stdout cr!
Answer
See also
Invoking Lua from Squeak using OSProcess Command shell