time shorthand convertor - Is there an advantage to declaring local variables?

Peter T. Evensen pevensen at siboneylg.com
Fri Jul 28 13:59:29 EDT 2006


If you turn on explicit variable, then you have to.  Turning this on can 
catch some script errors (like misspelled variable names).

Otherwise there isn't really any advantage that I can think of.

At 12:26 PM 7/28/2006, you wrote:
>Is there an advantage to declaring local variables? (other than a
>reminder?)
>
>
>On Jul 27, 2006, at 2:58 PM, Mark Wieder wrote:
>
>>Cute. I couldn't resist fiddling with it a bit.
>>
>>ON convertTime
>>   local t
>>   local ampm
>>   local t2

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 





More information about the use-livecode mailing list