[3.8a-6655Full] Some Issues I've found with 'A Gentle Introduction to Smalltalk' in 3.8a-6655Full

Ken G. Brown(w) kbrown at tnc.ab.ca
Tue Jul 5 22:24:14 UTC 2005


Downloaded 3.8a-6655Full from http://www.squeak.org/download/index.html

During initial exploration from the point of view of a new user, I found the
following issues:

On the page for Block Closures (ii) in the tutorial 'A Gentle Introduction
to Smalltalk', by Stephane Ducasse & Serge Stinckwich, I selected the
following code that was displayed: 
--
b1 := [:name|
	     (SampledSound 
	         soundNamed: name) play]

b1 value: #croak.
b1 value: #scratch.
b1 value: #chirp.
b1 value: #splash.
b1 value: #coyote.
b1 value: #silence.
--
and tried a do-it but got an error 'Unknown variable: b1, please correct or
cancel' with the choices declare temp or declare instance. I selected
declare temp and got an error 'Message not understood: Block Context>>b1',
and the code text display was messed up. I abandoned the notifier and
selected the messed up text which cleaned up the text display, showing a
|b1| added before the code but in a different plain style. I tried undo but
it would not undo. Now the tutorial is modified and I cannot go back without
quitting with no saving.

I copied the same code into a workspace which pasted into the workspace in
the same bold style, a do-it of the whole thing got the same error.
A subsequent do-it of: 
b1 value: #croak. got a croaking sound.

A do-it of:
b1 value: #coyote. got the sound of an owl. 
b1 value: #splash. got the sound of a closing drawer or some such thing. 

Typing the underscore in the workspace in the pasted bold style, did not
result in the left arrow.

Hope this helps.

Ken




More information about the Squeak-dev mailing list