Scope modifiers: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) m (→version 2 scope is DYNAMIC: add assignment in s) |
Walterpachl (talk | contribs) (→{{header|REXX}}: add an advice to Version 2) |
||
Line 1,054: | Line 1,054: | ||
in m a b c x 1 2 3 X |
in m a b c x 1 2 3 X |
||
in s sigl a b c 6 1 2 3 |
in s sigl a b c 6 1 2 3 |
||
in m a b c x 1 2 3 4 |
in m a b c x 1 2 3 4</pre> |
||
You can establish g. as global variable set by adding g. to each and every Procedure Expose and use g.0a etc. everywhere. |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |