octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47874] error/warning fail when only argument


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47874] error/warning fail when only argument looks like an error/warning ID
Date: Tue, 10 May 2016 18:01:28 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #6, bug #47874 (project octave):

Alright, so Octave is doing the right thing here. We could be a little more
picky in what we accept as an error identifier, so maybe something like


error ("0:100")


would be allowed. But if you pass a single string that looks like it should be
an identifier, then this is a valid usage error.

Anyone care to test whether Matlab accepts something like


error('0:0')
error('1one:two')
error('_:_')
error('_invalid:identifier')
error('Matlab:_asdf')


as an error string? These should not be accepted as identifiers according to
the help, so maybe Matlab just prints them as the message?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47874>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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