Scope modifiers: Difference between revisions
Content added Content deleted
(→{{header|Delphi}}: Adds Déjà Vu example) |
|||
Line 312: | Line 312: | ||
static var3 # also used inside of procedures |
static var3 # also used inside of procedures |
||
end</lang> |
end</lang> |
||
Co-expressions (both languages) also redefine scope - any local variables referenced |
|||
within the body of a co-expression are restricted in scope to that body, but are |
|||
initialized to the values they had with the co-expression is created. |
|||
=={{header|J}}== |
=={{header|J}}== |