"Mark Wilden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Chris Antos" <[EMAIL PROTECTED]>
> >
> > To clear up confusion, here is what the expression *should* be,
> > in order for it to work as the author really intended:
>
> I was just talking about the parentheses in the expression I quoted,
that's
> all. :)

You quoted it wrong -- out of context, and substituting "[...]" instead of
the text I wrote explaining why I expanded the expression to show its actual
logic.  Here is the part I originally wrote, which you deleted in your
reply, showing that you probably missed the whole point of what I had
written:


> In other words, it works on non-TT devices because you have a bug on
> non-TT devices -- here is how the "isMemoFindKey" assignment actually
> works, which is definitely not what you wanted.  Notice that it tests
> "event.data.keyDown.chr == vchrFind" for all events, not just
keyDownEvent.

I inserted parentheses into Tenchi-Man's expression to show how the compiler
actually interprets it.  Of course the parentheses I added didn't change its
behavior -- that was the whole point -- simply to show what the behavior
really was.  Once one sees what the behavior of the expression actually was,
then it becomes obvious what was broken about the expression.

Tenchi-Man replied that he got it.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to