Scope modifiers: Difference between revisions

m
Line 623:
0
</lang>
Julia also has scopes based on modules. Variables within a standard module such as <code>MyModule; x = 0; end</code>need to be referred to with the modulesmodule name prefix, such as <code>MyModule.x</code>, unless the variable is exported from the module with the <code> export</code> keyword.
 
 
=={{header|Kotlin}}==
4,107

edits