From bug-octave-request at bevo dot che dot wisc dot edu Mon Oct 11 22:45:57 1999 Subject: 2.1.14 : Updated .m file From: "John W. Eaton" To: etienne at isr dot isr dot ist dot utl dot pt Cc: bug-octave at bevo dot che dot wisc dot edu, etienne@isr.ist.utl.pt Date: Mon, 11 Oct 1999 22:45:28 -0500 (CDT) On 9-Oct-1999, etienne grossmann wrote: | If I create in octave's path a file "buggy.m" containing the two | lines : | | ====================================================================== | function b = buggy(x) | b = 1 ; | ====================================================================== | | In octave, I call the function and get the correct answer : | | octave:117> buggy() | ans = 1 | | Then I put an error in buggy.m, for example by appending the line | | ====================================================================== | print("forget parenthesis" ; | ====================================================================== | | Octave will complain next time I call "buggy()", which is normal too : | | ====================================================================== | octave:122> buggy() | parse error near line 3 of file /home/etienne/prog/octave/mylib/buggy.m | | >>> print("forget parenthesis" ; | ^ | | error: evaluating expression near line 122, column 1 | ====================================================================== | | However, the following call will alternatively succeed and fail : | | ====================================================================== | octave:122> buggy() | ans = 1 | octave:123> buggy() | parse error near line 3 of file /home/etienne/prog/octave/mylib/buggy.m | | >>> print("forget parenthesis" ; | ^ | | error: evaluating expression near line 123, column 1 I don't see this behavior with my current sources for either the 2.0.x or the 2.1.x development trees, so I think the problem may have been fixed. I am working on trying to make a 2.0.15 and 2.1.15 releases. Things that are slowing me down include a dead web/ftp server. :-( jwe --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html ---------------------------------------------------------------------