common code patterns

Thierry Douez th.douez at gmail.com
Fri Aug 11 03:12:30 EDT 2017


2017-08-11 9:07 GMT+02:00 J. Landman Gay:

On 8/10/17 7:42 PM, Monte Goulding:
>


> Over on the Parent of Target thread we are discussing local var access so
>> I wonder if this is a useful common pattern:
>>
>> local s<Something>
>>
>> command set<Something> p<Something>
>>     put p<Something> into s<Something>
>> end set<Something>
>>
>> function get<Something>
>>     return s<Something>
>> end get<Something>
>>
>
> Yes, I use that a lot.
>
>

+1


-- 
------------------------------------------------
Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage



More information about the use-livecode mailing list