Regression: eval'ing scripts fails

Moritz Borgmann octave at moriborg.de
Sat May 3 16:37:13 CDT 2008


This seems to be a regression:

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.

Tested with current hg default branch.

Cheers,

Moritz


More information about the Bug-octave mailing list