function f = foo(x) f = x^2; return;