send "subCheckNow" to me, or?
Scott Rossi
scott at tactilemedia.com
Fri Jul 7 04:46:12 EDT 2006
Recently, Garrett Hylltun wrote:
> Is it better to use "send" or just use the name of the handler?
>
> on subCheckNow
> -- do stuff here
> send "subCheckNow" to me
> end subCheckNow
>
> Or this?
>
> on subCheckNow
> -- do stuff here
> subCheckNow
> end subCheckNow
>
>
> Is the second even allowed? And, if it is allowed, is their any ill
> effects from doing this?
I thought you might end up with recursion in the second option, but
apparently the script compiler doesn't like option 2. So the answer to your
question seems to be: stick with option 1.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list