dot notation
Robert Brenstein
rjb at rz.uni-potsdam.de
Thu May 22 17:06:01 EDT 2003
>It seems acceptable to the interpreter to use dot notation for labelling
>handlers and properties, e.g.:
>
> on my.mouseUp
> doSpecialStuff
> end my.moyseUp
>
> set the uMyStuff.data[4] of this stack to tMyVar
>
>It seems in some cases the visual break of the period may be useful for
>readability.
>
>Can you think of any reason using dot notation like this would not be a good
>idea?
>
I am often using dots and other special chars like _ and $ to help me
tracking where the handlers are, particularly when working in
multistack projects. The only drawback I see is that double-clicking
such names does not select the whole name (but this also has its
advantages).
Robert
More information about the use-livecode
mailing list