[BUG] [FIX] Wonderland the Alice object oven.mdl is not loadable.

Boris Gaertner Boris.Gaertner at gmx.net
Tue Dec 14 22:52:28 UTC 2004


This bug report is for Squeak 3.8 - #6527 with Balloon3D loaded
from SqueakMap.

Bringing Wonderland to work is a challenge.
Here is the next problem:

   w makeActorFrom: '.\Alice\Furnishings\oven.mdl'.

causes a syntax error.
In the file we read:
oven.Knob_1 = _MakeObject(MakeObject, oven, "oven.Knob_1", StoringScene=0)
The underscore in 'oven.Knob_1' is not accepted.

It seems that is helps to replace WonderlandActor>setName: 

setName: newName
 "Sets the object's name"

    myName _ newName 

with:

setName: newName
 "Sets the object's name"

 myName _ newName reject: [:char | char = $_].
  " the underscore is not tolerated as part of a method name "


Attached is a change set.

Greetings,
Boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnderscoreFix.1.cs
Type: application/octet-stream
Size: 575 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041214/4df7b262/UnderscoreFix.1.obj


More information about the Squeak-dev mailing list