Well, I am following the Book&#39;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 &quot;MessageNotUnderstood&quot; error as the next step has me doing something to practice using the debugger - I don&#39;t think I&#39;m supposed to be getting the syntax error I am getting.<div>
<div><br></div><div>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.</div>
<div><div><br></div><div>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?</div>
<div><br></div><div>Thanks again,</div><div>Dave</div><div><br><div class="gmail_quote">On Wed, Aug 22, 2012 at 3:11 PM, Chris Cunnington <span dir="ltr">&lt;<a href="mailto:smalltalktelevision@gmail.com" target="_blank">smalltalktelevision@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <div>On 12-08-22 2:58 PM, dav0 wrote:<br>
    </div>
    <blockquote type="cite">
      <div>Hi Chris,</div>
      <div><br>
      </div>
      Your method of loading the SBE-Quinto repository from the URL and
      running it that way seems to work fine, so does this mean I
      introduced the syntax error myself?  Or does this mean that the
      fact that I am using a different repository has something to do
      with why it works this way?
      <div>
        <br>
        <div>I am still a little too green to figure out where I went
          wrong.  Everything was working up until this point.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Dave</div>
        <div><br>
          <div class="gmail_quote">On Wed, Aug 22, 2012 at 2:29 PM,
            Chris Cunnington <span dir="ltr">&lt;<a href="mailto:smalltalktelevision@gmail.com" target="_blank">smalltalktelevision@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>
                  <div>
                    <div>On 12-08-22 2:17 PM, dav0 wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hi,

                        Squeak is really cool so far, but I have finally
                        hit a snag I can&#39;t seem to figure out, and I
                        think it may have something to do with the fact
                        that I am attempting to run the SBE on a
                        slightly newer version of Squeak maybe?</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
                      </div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
                        I am on page 43 of the SBE book and I get the
                        following syntax error when I follow this
                        instruction:</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
                      </div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">&quot;In

                        a workspace, type SBEGame new openInWorld and do
                        it .&quot;</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
                        <br>
                      </div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Thanks!</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
                      </div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
                        -dav0</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
                      </div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
                        ---------- Syntax Error (Popup window)
                        ------------------</div>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
                      </div>
                      <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">HandMorph

                        Morphic-Kernel he</span>
                      <div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
                        <br>
                        <div>----------</div>
                        <div><br>
                        </div>
                        <div>
                          <div>he user wants it and not just aligned
                            with the cliprect&quot;</div>
                          <div><br>
                          </div>
                          <div><span style="white-space:pre-wrap"> </span>(patternForm

                            isForm) ifFalse: [</div>
                          <div> <span style="white-space:pre-wrap"> </span>&quot;patternForm
                            is a Pattern or Color; just Nothing more
                            expected -&gt;use it as a mask for BitBlt&quot;</div>
                          <div><span style="white-space:pre-wrap"> </span>^
                            aPort fill: aPort clipRect fillColor:
                            patternForm rule: Form over].</div>
                          <div><br>
                          </div>
                          <div><span style="white-space:pre-wrap"> </span>&quot;do
                            it iteratively&quot;</div>
                          <div><span style="white-space:pre-wrap"> </span>targetBox
                            _ aPort clipRect.</div>
                          <div><span style="white-space:pre-wrap"> </span>patternBox
                            _ patternForm boundingBox.</div>
                          <div><span style="white-space:pre-wrap"> </span>savedMap
                            _ aPort colorMap.</div>
                          <div><span style="white-space:pre-wrap"> </span>aPort

                            sourceForm: patternForm;</div>
                          <div><span style="white-space:pre-wrap"> </span>fillColor:

                            nil;</div>
                          <div><span style="white-space:pre-wrap"> </span>combinationRule:

                            Form paint;</div>
                          <div><span style="white-space:pre-wrap"> </span>sourceRect:

                            (0@0 extent: patternBox extent);</div>
                          <div><span style="white-space:pre-wrap"> </span>colorMap:

                            (patternForm colormapIfNeededFor: aPort
                            destForm).</div>
                          <div><span style="white-space:pre-wrap"> </span>top
                            _ (targetBox top truncateTo: patternBox
                            height) + offset y.</div>
                          <div><span style="white-space:pre-wrap"> </span>left
                            _  (targetBox left truncateTo: patternBox
                            width) + offset x.</div>
                          <div><br>
                          </div>
                          <div><span style="white-space:pre-wrap"> </span>left
                            to: (targetBox right - 1) by: patternBox
                            width do:</div>
                          <div><span style="white-space:pre-wrap"> </span>[:x
                            | top to: (targetBox bottom - 1) by:
                            patternBox height do:</div>
                          <div><span style="white-space:pre-wrap"> </span>[:y
                            | aPort destOrigin: x@y; copyBits]].</div>
                          <div><span style="white-space:pre-wrap"> </span>aPort

                            colorMap: savedMap.</div>
                        </div>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                    </div>
                  </div>
                  <pre>_______________________________________________
Beginners mailing list
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
                </blockquote>
                When I go to <a href="http://www.squeaksource.com/SqueakByExample" target="_blank">http://www.squeaksource.com/SqueakByExample</a>
                I see that the example code for the book is available. <br>
                <br>
                I click on Tools in Squeak and select MonticelloBrowser.
                I then hit AddRepository, click HTTP, and then add
                SqueakByExample after <a href="http://www.squeaksource.com" target="_blank">http://www.squeaksource.com</a>
                in location:. I accept and close the window. Click Open.
                In the new window click SBE-Quinto on the left. Then
                press Load. <br>
                <br>
                Now open a Workspace. Type:<br>
                <br>
                SBEGame new openInWorld <br>
                <br>
                highlight it and do it. Then you&#39;ll see the game. <br>
                This was in a 4.4 alpha build number #12186, which is
                very recent. So, as far as I cans see, the Quinto game
                mentioned on pg. 43 of SBE still works. <br>
                <span><font color="#888888"> <br>
                    Chris <br>
                  </font></span></div>
              <br>
              _______________________________________________<br>
              Beginners mailing list<br>
              <a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
              <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Beginners mailing list
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
    </blockquote></div></div>
    If you follow the book, the next paragraph on pg. 43 says: <br>
    <br>
    
    <div>
      <p><span style="font-size:10.000000pt;font-family:&#39;URWPalladioL&#39;">The game will open, and you should be able to
          click on the cells and see
          how it works.
        </span></p>
      <p><span style="font-size:10.000000pt;font-family:&#39;URWPalladioL&#39;">Well, so much for theory. . . When you click
          on a cell, a </span><span style="font-size:10.000000pt;font-family:&#39;URWPalladioL&#39;;font-style:italic">notifier </span><span style="font-size:10.000000pt;font-family:&#39;URWPalladioL&#39;">window
called
          the </span><span style="font-size:8.000000pt;font-family:&#39;NimbusSanL&#39;">PreDebugWindow </span><span style="font-size:10.000000pt;font-family:&#39;URWPalladioL&#39;">window appears with
          an error message! As
          depicted in Figure 2.12, it says </span><span style="font-size:8.000000pt;font-family:&#39;NimbusSanL&#39;">MessageNotUnderstood:
          SBEGame»toggleState.
        </span></p>
    </div>
    <br>
    So I&#39;m not sure it&#39;s supposed to work at that point. I think it&#39;s
    making a point about the Debugger or something. <br>
    <br>
    Incidentally I don&#39;t know why it says &quot;and do it&quot;, as &quot;new
    openInWorld&quot; seems to be enough. <br>
    <br>
    You have another repository? OK. <br>
    <br>
    At any rate this version seems to work alright. I always prefer to
    use a working example and see how it works. I wouldn&#39;t sweat the
    details to much. It sounds like you&#39;re getting the general idea of
    things. <br>
    <br>
    HTH,<br>
    Chris <br>
    <br>
    <br>
    <br>
    
    <br>
  </div>

<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div></div></div>