links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
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?
  1. $ stdout nextPutAll: 'hello world'
  2. $ stdout nextPutAll: 'hello world'; cr
  3. $ stdout nextPutAll: 'hello world'!
  4. $ stdout nextPutAll: 'hello world'; cr!
  5. $ stdout nextPutAll: 'hello world'!; stdout cr!


See also

Invoking Lua from Squeak using OSProcess Command shell