[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51997] function warning: return value
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #51997] function warning: return value |
Date: |
Tue, 12 Sep 2017 04:59:07 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL:
<http://savannah.gnu.org/bugs/?51997>
Summary: function warning: return value
Project: GNU Octave
Submitted by: ernstreissner
Submitted on: Tue 12 Sep 2017 08:59:05 AM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name: ernstreissner
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
help warning yields
-- warning (TEMPLATE, ...)
-- warning (ID, TEMPLATE, ...)
-- warning ("on", ID)
-- warning ("off", ID)
-- warning ("query", ID)
...
which means that querying does not yield a return value.
This is not true, which is illustrated by the following.
octave:3> a=warning("query", "Octave:divide-by-zero");
octave:4> a
a =
scalar structure containing the fields:
identifier = Octave:divide-by-zero
state = on
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51997>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51997] function warning: return value,
Ernst Reissner <=