Kay C Lan wrote:

On Thu, Feb 18, 2016 at 7:52 PM, Mark Waddingham <mark at livecode.com> wrote:

Okay so this kind of code pattern originates from HyperCard which did not
have arrays.

Upshot: There's no reason to use 'local' in do if you are initializing the
variable at that point. Indeed, one could argue that it is better to do:

  do "put empty into tVar_" & x

Which all goes to reinforce my initial feeling; the Example given in the
Dictionary for <local> is negative learning. Noted added to my ever
increasing pile of Dictionary improvements.

Please consider logging those in the bug report so the dev team and/or the community can address them.

Better still, if you have time you can update that Dictionary entry yourself:
<https://livecode.com/putting-the-you-in-documentation/>

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to