Regression: eval'ing scripts fails

Moritz Borgmann octave at moriborg.de
Sun May 4 12:00:46 CDT 2008


>| eval('testfun')
>|
>| works if testfun.m is a function, but fails with something like
>|
>| error: `testfun' undefined near line 6 column 1
>|
>| if testfun.m is a script.
>
>I checked in the following change.

thanks, this fixes the problem for me.

-M


More information about the Bug-octave mailing list