2.31. funcallexa.bas

[<<<] [>>>]

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 :

a = MyFunction(1,2,MyFunction(1,1,1))
print a
printnl
function MyFunction(a,b,c)
local x

print a,b,c,x printnl x = a * b * c MyFunction = a + b + c

end function

Result executing funcallexa.bas :

Possible error messages sent to stderr:


[<<<] [>>>]