Squeak 3.10 - Syntax Error window

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak 3.10 - Syntax Error window

squeakman
Hello,

I am using Squeak 3.10 on a Windoze box.

I have placed a break point in the code. When the break point is hit, I
get a "Syntax Error" window popping up.

When I attempt to step over the break point I get a new "Syntax Error"
window with each attempt to step thru the code.

The "Syntax Error" window contains the following text:

---- start of text ----
digitLength - 8Nothing more expected ->) max: 0).
        nScaled _ (numerator bitShift: nScaleBits negated) asFloat.

        "Scale the denominator the same way."
        dScaleBits _ 8 * ((denominator digitLength - 8) max: 0).
        dScaled _ (denominator bitShift: dScaleBits negated) asFloat.

        "Divide the scaled numerator and denominator to make the
right mantissa, then scale to correct the exponent."
        ^ (nScaled / dScaled) timesTwoPower: (nScaleBits - dScaleBits).

---- end of text ----

What is this "Syntax Error" window trying to tell me?  How does one use it?

Thanks,
Frank


Reply | Threaded
Open this post in threaded view
|

Re: Squeak 3.10 - Syntax Error window

keith1y

If you find the error in the code you can correct it and do "accept"
(alt-s or equivalent) and the program will carry on.

You might find irc channel #squeak useful for answering such questions

Keith


> Hello,
>
> I am using Squeak 3.10 on a Windoze box.
>
> I have placed a break point in the code. When the break point is hit,
> I get a "Syntax Error" window popping up.
>
> When I attempt to step over the break point I get a new "Syntax Error"
> window with each attempt to step thru the code.
>
> The "Syntax Error" window contains the following text:
>
> ---- start of text ----
> digitLength - 8Nothing more expected ->) max: 0).
>     nScaled _ (numerator bitShift: nScaleBits negated) asFloat.
>
>     "Scale the denominator the same way."
>     dScaleBits _ 8 * ((denominator digitLength - 8) max: 0).
>     dScaled _ (denominator bitShift: dScaleBits negated) asFloat.
>
>     "Divide the scaled numerator and denominator to make the
> right mantissa, then scale to correct the exponent."
>     ^ (nScaled / dScaled) timesTwoPower: (nScaleBits - dScaleBits).
>
> ---- end of text ----
>
> What is this "Syntax Error" window trying to tell me?  How does one
> use it?
>
> Thanks,
> Frank
>
>
>