Param Naming - Object by Reference Best Practices

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jun 1 11:00:13 EDT 2017


OK Sold. I never really understood the value of using long id's until Richard's explanation, and an issue I was having as well with object resolution between different modules and a back script. 

Bob S


> On May 31, 2017, at 17:18 , Trevor DeVore via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> I almost always pass long IDs as object references, e.g.:
>> 
>>    put the long ID of grc "portal-title-bkgnd" into tObj
>>    DoSomethingWith tObj
>> 
>> Complete, absolute, unambiguous, and, if used repeatedly, cached.
> 
> 
> I second that. I almost always use long ids as well.
> 
> -- 
> Trevor DeVore





More information about the use-livecode mailing list