defining and using globals in an application
Bob Sneidar
bobs at twft.com
Fri Jul 8 17:45:57 EDT 2011
You should write a Livecode article on it. It's very useful information, and helps people grasp one of the stickier concepts for new users of Livecode, especially pointing out that there are no namespaces, but that there are fixed scopes like global and local.
I had some experience with Foxpro which uses a scoping model almost identical to Livecode, so I didn't have any problem grasping it. New programmers could use the primer.
Bob
On Jul 8, 2011, at 12:12 PM, Jim Ault wrote:
> On Jul 8, 2011, at 9:46 AM, Bob Sneidar wrote:
>
>> Ic. Well if it worked that way, then there would be no point in declaring it's scope (forgive me if that is not the right term) to begin with, as all variables would only have one "scope" that being global. Maybe I'm not getting it.
>>
> Bob
>
> Here is a detailed description that most people won't care to read, but you asked, so here goes :-)
> <snip>
More information about the use-livecode
mailing list