Scope modifiers: Difference between revisions
Content deleted Content added
Go explanation |
m →Icon and Unicon: header simplification |
||
Line 135:
|}
==
Icon and Unicon data types are not declared and variables can take on any value; however, variables can be declared as to their scope. For more see [[Icon%2BUnicon/Intro#un-Declarations.2C_it.27s_all_about_Scope|un-Declarations it's all about scope]]. Additionally, Unicon supports classes with methods.
<lang Icon>global var1 # used outside of procedures
Line 144 ⟶ 143:
static var3 # also used inside of procedures
end</lang>
=={{header|J}}==
|