What is wrong with this Script logic?

Kay C Lan lan.kc.macmail at gmail.com
Fri Jan 11 00:08:15 EST 2013


Actuallly this doesn't work for me either. LC locks up, my CPUs go to
100% and I don't even get a recursion message or anything. I have to
Force Quit LC.

Any further suggestions?

On Fri, Jan 11, 2013 at 11:43 AM, J. Landman Gay
<jacque at hyperactivesw.com> wrote:
> on hCheckEntry pData
>   repeat until pData is an integer
>     ask warning "Please enter only whole numbers!" with pData \
>        titled "Enter A Number"
>     if the result = "cancel" then exit to top
>     put it into pData
>   end repeat
>   put pData into me
> end hCheckEntry

More information about the use-livecode mailing list