1. Re: goto / global variables
- Posted by Craig Gilbert <cgilbert at CENNET.MC.PEACHNET.EDU> Sep 26, 1997
- 753 views
At 09:17 AM 9/26/97 -0400, Colin Taylor wrote: >Craig Gilbert wrote: >>Read-only? Isn't that essentially what a 'constant' is? > >Not exactly. By read-only I meant a local variable which is visible >globally. >Outside of its scope it could be read but not written to. > >Colin Taylor > > Gotcha. At the local level it would be 'normal', externally it would seem like a gobal constant. Quite a neat idea, actually. A 'viewport' variable, obviating the need for access functions to check on the state of local vars w/out endangering their state. ------------------------------------ Craig Gilbert cgilbert at cennet.mc.peachnet.edu "To be surprised, to wonder, is to begin to understand. This is the sport, the luxury, special to the intellectual man. The gesture characteristic of his tribe consists in looking at the world with eyes wide open in wonder. Everything in the world is strange and marvelous to well-open eyes." --Jose Ortega y Gasset ------------------------------------