Scope modifiers: Difference between revisions
Content added Content deleted
(→{{header|Common Lisp}}: Add example using (declaim (special *bug*)).) |
Underscore (talk | contribs) m (→{{header|C}}: "it's value" → "its value") |
||
Line 79: | Line 79: | ||
int myp; // this can be seen only from inside code |
int myp; // this can be seen only from inside code |
||
static int myc; // still a variable that can be seen only from |
static int myc; // still a variable that can be seen only from |
||
// inside code, but |
// inside code, but its value will be kept |
||
// among different code calls: it is not about |
// among different code calls: it is not about |
||
// changing scope in this case! |
// changing scope in this case! |