Yeah I did it another way, I divided by 2 instead, it was much clearer to me
then.

On 9/22/07, R. Alan Monroe <[EMAIL PROTECTED]> wrote:
>
> > Okay I took your idea Alan and I finally got the outcome that I wanted.
> > Thanks.
>
> Not sure you "got" what I meant :)
>
> If you divide the mouse coordinate by 100, you'll automatically either
> get a 0, 1, or 2 as the result. No need for any kind of "in
> range(0,50)" comparison at all.
>
> Alan
>
>

Reply via email to