Another examples of the screen refresh problem on the Mac?

Bob Sneidar bobs at twft.com
Mon Oct 10 19:59:15 EDT 2011


yeah I had a brain fart and used AND instead of &. DOH! I wonder then why ANDING comma and true does not produce an error? Adding 1 to "green" certainly does! I guess the logic is, "All that is not true is false". 

Bob


On Oct 10, 2011, at 4:44 PM, James Hurley wrote:

> Bob,
> 
> Here is what I get on the lockMove messages. (I'm on the email digest so I have trouble copying your message.)
> 
> on mouseUp
>   put 200 into x
>   put 200 into y
>   put 2 into dx
>   put 1 into dy
>   repeat 100 times
>      put x,y & cr after tPoints
>      add dx to x
>   end repeat
>   put 200 into x
>   put 200 into y
>   repeat 200 
>      put x,y & cr after tNewPoints
>      add dy to y
>   end repeat
>   put "Before lock " & the lockmoves & cr  into tMessage
>   lock moves
>     put "After lock " & the lockmoves & cr  after tMessage
>     move button "one" to tNewPoints without waiting
>     put "After first move " & the lockmoves & cr  after tMessage
>     move button "two" to tPoints without waiting
>     put "After second move  " & the lockmoves & cr  after tMessage
>     unlock moves
>     put "After unlock " & the lockmoves & cr  after tMessage
>     put tMessage into msg box
> end mouseUp
> 
> And the message in the message box is: 
> 
> Before lock false
> After lock true
> After first move true
> After second move  true
> After unlock false
> 
> So all of that seems OK.
> 
> Jim
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list