setprop handlers for custom property sets

Scott Rossi scott at tactilemedia.com
Thu Jul 30 19:00:38 EDT 2015


Maybe I'm missing something, but I originally thought the following would
cause a recursion error, because the property being set appears within a
setProp handler of the same name.  Trying this in LC 7.0.5 works, but I
still see a warning in the docs about recursion.  So does the following
work only in LC 7 and later?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/30/15, 3:44 PM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

>setProp myUniqueName pValue
>  add 1 to pValue
>  set the myUniqueName of me to pValue
>end myUniqueName






More information about the use-livecode mailing list