|
From: | Ceral Paquet |
Subject: | [Octave-bug-tracker] [bug #50894] error message for exist() does not report file or line number |
Date: | Fri, 28 Apr 2017 14:26:32 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
URL: <http://savannah.gnu.org/bugs/?50894> Summary: error message for exist() does not report file or line number Project: GNU Octave Submitted by: octavebugs Submitted on: Fri 28 Apr 2017 06:26:31 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.1 Operating System: GNU/Linux _______________________________________________________ Details: Normally errors messages give a nice message telling you where the error is and which file. The exist() function lacks this info. Code: function testtesttest() a = 1; exist(a) Output: >> testtesttest error: wrong type argument 'scalar' error: exist: NAME must be a string _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50894> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |