Runtime evaluation/In an environment: Difference between revisions

Content added Content deleted
m (→‎{{header|Metafont}}: modified to resemble to other examples)
(→‎{{header|Octave}}: add note about nonglobalness)
Line 93: Line 93:


=={{header|Octave}}==
=={{header|Octave}}==

In Octave, undeclared variables are local.


<lang octave>function r = calcit(f, val1, val2)
<lang octave>function r = calcit(f, val1, val2)