OK, so I rebuilt the tutorial from scratch and I am able to reproduce the syntax error again now when I click on a yellow square.  I'm not real sure what the syntax error is because the tutorial hasn't covered much of the Smalltalk syntax yet.

I am also seeing the same sort of display symptoms as before, where the checkerboard is offset around 50 pixels both in the x and the y directions - indicating that the syntax error has something to do with the checkerboard's positioning.

I am attaching the sources which I manually saved along the way (SBE-Quinto.sources).  Note: I did make one change to the original PDF code which seems to have an extra dash '-' in the Class category (package) name, where two of the provided methods specify "SBE--Quinto" instead of "SBE-Quinto" as the tutorial says to use.

The one thing which I am doing that I suspect may be part of the problem is the fact that I have newer Squeak sources than those which are referenced by the book.  The book's SBE image seems to complain every time I start up displaying a little pop-up which says "SqueakV39.sources does not exist" at which point, I always "Choose another name" from the menu and select my more recent "SqueakV41.sources" which I downloaded previously.  Could this be causing this issue?

Thanks
Dave


On Wed, Aug 22, 2012 at 4:15 PM, dav0 <dav0@virtualsynthesis.net> wrote:
Oops!  I must not have done this the way you had in mind because when I did the "save contents to a file" command from my Workspace window, I apparently only ended up with a file (default filename= "Workspace.text") with the following text in it:

SBEGame new openInWorld

Since I did not save anything, I ended up losing my entire tutorial.  I guess I should have verified that I had something of use in that file before I quit Squeak without saving.  The good news is: the error is certainly gone now!


On Wed, Aug 22, 2012 at 3:39 PM, Chris Cunnington <smalltalktelevision@gmail.com> wrote:
On 12-08-22 3:33 PM, dav0 wrote:
Well, I am following the Book's tutorial, and I have a local workspace where I have written the entire application from scratch as outlined in the book, so yes, there is an expected error at this point, but I am expecting to see a "MessageNotUnderstood" error as the next step has me doing something to practice using the debugger - I don't think I'm supposed to be getting the syntax error I am getting.

Another clue on this syntax error is that I can also see the blue game background displaying in what seems to be the correct location, and then the checkerboard is displaying too, but it was offset by around 50 pixels on both the x and y coordinates.  Chances are, whatever the syntax error is involves the placement of the checkerboard.

At any rate, I guess I need to undo whatever I just did (loading the remote repository from the URL) so I can get back to diagnosing this issue and/or skipping this step and moving on to the next one.  Any idea how I can do this?

Thanks again,
Dave


OK, you've got everything in a Workspace. And there's a syntax error.

The first thing I would do is click the blue down arrow on the Workspace and select "save contents to file...", which will put a file in your image directory of the contents of the Workspace.
The next thing would be to quit without saving. Notice I said "without". That will get rid off the code you just loaded from the Internet.
Then open your file of saved code, cut and paste it into a Workspace, and resume looking for the syntax error.


HTH,

Chris
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners