initialize an static, local, script-wide variable to empty

erik hansen erikhans08 at yahoo.com
Sun Apr 13 00:17:01 EDT 2003



Richard Gaskin <ambassador at fourthworld.com> wrote:
I tend to use Script-Local Variables in two circumstances:

- where I might have used globals but want to avoid name-space collisions
(great for utilities and plugins where you have no control over the name
space)

- when passing data to handlers, as you suggest, where the same container is
used among many handlers (except those that require their own copy or alter
it ways that would be undesireable elsewhere). === so why not use regular params() in the second circumstance? 

erik at erikhansen.org    http://www.erikhansen.org


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030413/41703378/attachment.html>


More information about the use-livecode mailing list