Anonymous user
Scope modifiers: Difference between revisions
→{{header|bc}}: Rephrased second paragraph
(→{{header|C}}: Added bc) |
(→{{header|bc}}: Rephrased second paragraph) |
||
Line 150:
All identifiers are global by default (except function parameters which are local to the function). There is one scope modifier: <code>auto</code>. All identifiers following the <code>auto</code> statement are local to the function and it must be the first statement inside the function body if it is used. Furthermore there can only be one <code>auto</code> per function.
<lang bc>define g(a) {
|