Nested function: Difference between revisions

Content added Content deleted
(added go)
(draft task -> task)
Line 1: Line 1:
{{draft task}}
{{task}}


In many languages, functions can be nested, resulting in outer functions and inner functions. The inner function can access variables from the outer function. In most languages, the inner function can also modify variables in the outer function.
In many languages, functions can be nested, resulting in outer functions and inner functions. The inner function can access variables from the outer function. In most languages, the inner function can also modify variables in the outer function.
Line 17: Line 17:
'''References:'''
'''References:'''


:* [[wp:Nested_function]]
:* [[wp:Nested_function|Nested function]]


[[Category:Scope]]
[[Category:Scope]]