This function tests the function definition and calling in a nested situation. The local variable x should be undef both times when this is printed.
Example funcallexa.bas :
print a,b,c,x
printnl
x = a * b * c
MyFunction = a + b + c
end function
a = MyFunction(1,2,MyFunction(1,1,1))
print a
printnl
function MyFunction(a,b,c)
local x
Result executing funcallexa.bas :
Possible error messages sent to stderr: