feval an external function

Peter von Niederhaeusern pvonnied at gmail.com
Fri Jul 9 16:22:04 CEST 2010


Hi all,

In the main script I call a function 'foo' (which is made known to the
main script by exec('foo.sci'))
which takes another function 'bar' and some arguments as its arguments.

Inside the body of 'foo' the function 'bar' is evaluated by
'feval(arguments,'bar')'...

Unfortunately the interpreter cannot find the function 'bar' (although
that function is also made known
to the main script). Error message: feval: entry point bar not found
in predefined tables or link table.

Is there a way to execute the function 'bar' inside the function 'foo'?

Make known the function 'bar' inside 'foo' does not help either...

Merci for a hint
Peter



More information about the users mailing list