What is wrong with this Script logic?

Phil Davis revdev at pdslabs.net
Fri Jan 11 03:42:46 EST 2013

So don't use closeField.

on keyDown pKey -- or keyUp
     if pKey is an integer
     then pass keyDown
     else answer "Please enter only whole numbers!" -- or you could "beep"
end keyDown

Phil Davis

On 1/10/13 10:21 PM, Mark Wieder wrote:
> Jacque-
> Thursday, January 10, 2013, 9:39:35 PM, you wrote:
>> Something's wrong. I think it's the dialog.
> My guess is that closeField keeps getting triggered.

Phil Davis

More information about the use-livecode mailing list