Custom Properties

Mark Wieder mwieder at ahsoftware.net
Wed Apr 12 21:13:53 EDT 2006


Dan-

Wednesday, April 12, 2006, 2:49:17 PM, you wrote:

> One important use of setProp in particular comes into play when you create a
> library that has values you don't want outside programs/users to change. You
> just set up a setProp handler that politely, silently or rudely refuses to
> set the property's value. This is an important idea in object-oriented
> design.

On first thought, that sounds like an interesting concept. On second
thought, it seems like a better case for script-local variables in the
library stack. How do you separate out a "set" command coming from
outside the stack from one generated locally?

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list