[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39271] error('') does not abort execution of

From: anonymous
Subject: [Octave-bug-tracker] [bug #39271] error('') does not abort execution of script.
Date: Mon, 17 Jun 2013 18:39:38 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:21.0) Gecko/20100101 Firefox/21.0


                 Summary: error('') does not abort execution of script.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 17 Jun 2013 06:39:37 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Mario Kleiner
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: Any




in the current stable Octave 3.6.x, the error() function, when invoked with an
empty error string '', and also mexErrMsgTxt("") from the C mex api with an
empty string, do not return control to the command prompt, as they should.

function test

x = 1
x = 2


Would result in output:

x = 1
x = 2

instead of aborting with an error after x = 1. error() with a non-empty string
behaves as expected. This was tested on Octave 3.6.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]