Scope modifiers: Difference between revisions
Content added Content deleted
(Add Nimrod) |
(Nimrod -> Nim) |
||
Line 592: | Line 592: | ||
OUT was destroyed</pre> |
OUT was destroyed</pre> |
||
=={{header| |
=={{header|Nim}}== |
||
Identifiers annotated with a <code>*</code> are accessible from other modules |
Identifiers annotated with a <code>*</code> are accessible from other modules |
||
<lang |
<lang nim>proc foo = echo "foo" # hidden |
||
proc bar* = echo "bar" # acessible |
proc bar* = echo "bar" # acessible |
||