Mutual recursion: Difference between revisions
Content deleted Content added
Line 1,512: | Line 1,512: | ||
=={{header|M2000 Interpreter}}== |
=={{header|M2000 Interpreter}}== |
||
A |
A function can call a global function and must be global to call it again by the second function |
||
A Group function can call sibling function from same group. We can use This.F() or simply .f() to use group's f() member. |
A Group's function can call sibling function from same group. We can use This.F() or simply .f() to use group's f() member. |
||
We can use subroutines, which can call each other, in a module, and we can use the modules stack of values to get results from subs. Subs running as parts of module, and see same variables and same stack of values. Arguments are local to sub, and we can define local variables too. |
We can use subroutines, which can call each other, in a module, and we can use the modules stack of values to get results from subs. Subs running as parts of module, and see same variables and same stack of values. Arguments are local to sub, and we can define local variables too. |