• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Overloading a global variable? What's that mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overloading a global variable? What's that mean?


  • Subject: Overloading a global variable? What's that mean?
  • From: Charles Arthur <email@hidden>
  • Date: Wed, 19 Sep 2001 11:08:19 +0100

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.


  • Follow-Ups:
    • Re: Overloading a global variable? What's that mean?
      • From: Bryan <email@hidden>
  • Prev by Date: Re: Is beep a backdoor?
  • Next by Date: setting paper size to 'custom' in quark
  • Previous by thread: Re: Convert any list to a table?
  • Next by thread: Re: Overloading a global variable? What's that mean?
  • Index(es):
    • Date
    • Thread