Variable Scoping

David Bovill david at openpartnership.net
Mon Oct 9 13:43:04 EDT 2006


You can also use call-by-reference parameters.

Not sure if it is helpful - but if you want to think object-oriented in Rev
- don"t think about it in terms of functions and commands (ie the code), but
think of it in terms of the Revolution controls themselves. These behave
much more like "objects" - then as Mark suggests you can use custom
properties to get and set teh data you want. If you want "data objects"
inside these object ( ie inside a group) to inherit the custom properties as
it seems you are looking for you then would use getprop and set prop
handlers instead of functions in these objects. Maybe this is not clear -
but I hope it helps.



More information about the use-livecode mailing list