Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/15/04 01:05
Read: times


 
#83112 - ie, static.
Responding to: ???'s previous message
Neil Kurzman said:
Globals Never Overlay.
Local Scope Globals Never Overlay.
Statics Never Overlay.

I queried "Local Scope Globals"

Neil Kurzman said:
If it is Global but limited in scope to one Module.
A "Local Global".

In 'C' terminology, that's File Scope.

The only way to achieve that in 'C' is to make the variable in question 'static'.
Thus, "Local Scope Globals Never Overlay" is covered by "Statics Never Overlay"



List of 12 messages in thread
TopicAuthorDate
KeilC variables overlay between modules            01/01/70 00:00      
   Scope            01/01/70 00:00      
      used to be true            01/01/70 00:00      
         Optimisation Level 2            01/01/70 00:00      
      Local Scope Globals Never Overlay????            01/01/70 00:00      
         Global to a module            01/01/70 00:00      
            ie, static.            01/01/70 00:00      
      sub-block locals            01/01/70 00:00      
   Overlay            01/01/70 00:00      
      I tihnk that's wrong            01/01/70 00:00      
         that IS wrong            01/01/70 00:00      
            that IS worng            01/01/70 00:00      

Back to Subject List