Label id in warning message
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Apr 8 12:55:40 CDT 2008
On 8-Apr-2008, nils.smeds at bredband.net wrote:
| The ability to en/dis-able warning messages using warning("on"
| |"off"",idLabel) is great. Unfortunately it is a bit hard to
| find the idLabel associated with a warning. Here is a suggested
| change that makes warnings clearly state their id:
|
| warning[Octave:autoload-relative-file-name]: autoload:
| `besselj.oct' is not an absolute file name
| instead of
| warning: autoload: `besselj.oct' is not an absolute file name
This seems a little cluttered to me.
To find the warning ID (if any) of the last warning issued, use
warning query last
To disable last warning issued, you may also use
warning off last
Yes, these features should probably be documented...
jwe
More information about the Bug-octave
mailing list