Static Data Structures
23-Oct-88 15:15:42
Sb: #18245-Static Data Structures
Fm: Don Curtis/SYSOP 76703,4321
To: Steve Faiwiszewski 74106,425
Steve,
In C, if you declare a static variable within a module (vs a
declaration within a function)…they are 'visible' to any function within that
module, but 'invisible' to any functions outside that module.
If you declare a static variable within a function, it is 'visible'
only within that function (as are all other local variables).
I know nothing about Modula-2, so don't know if this matches or doesn't
their use of static variables.
Don