Re: Overloading a global variable? What's that mean?
Re: Overloading a global variable? What's that mean?
- Subject: Re: Overloading a global variable? What's that mean?
- From: Bryan <email@hidden>
- Date: Wed, 19 Sep 2001 08:24:32 -0400
- Organization: Apex Radiology
Usually it's from setting a property and then passing it as a variable
to a handler or such.
Properties don't need to be passed to handlers.
Bryan Kaufman
Charles Arthur wrote:
>
Hi ...
>
>
I have a big script (42K once saved as an app) which involves variables
>
that are quite big lists of strings.
>
>
While using Smile's "post-compilation" function - which looks to see
>
whether you're doing bad things like setting a variable and then not using
>
it, or using a variable which you haven't declared, it came up with:
>
>
Warning: overloading global variable.
>
>
This was about a property (aka global variable, of course) which in the
>
course of the app gets set to one of those large (40-item) lists of
>
strings. (The app had run fine anyway, even with this overloading; I was
>
just updating it for some changes.)
>
>
I didn't know you could overload a global variable. What defines when it's
>
just nicely loaded, and when overloaded?
>
>
Charles
>
>
----------------------------
>
http://www.ukclimbing.com : 1000+ British crags, 350+ British climbing
>
walls - searchable by distance and anything else you care to think of -
>
with weather forecasts for every one, plus maps, articles, news and
>
features. Plus Britain's busiest climbing discussion boards. And there's
>
even a cool shop attached.
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]