|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #41505] Cannot save to stdout |
| Date: | Sun, 09 Feb 2014 20:45:10 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
Follow-up Comment #11, bug #41505 (project octave):
That oddball case doesn't seem to be a regression, while "save -" was. Going
back to 3.4.3 and 3.6.4, "save - x" fails with the same error in both
versions.
I guess this error is because the minus is being interpreted as a binary
operator with "save ()" as the first argument? There's probably nothing we
could do about this without recognizing it as a special case in the parser
right?
octave:1> x = 5;
octave:2> save - x
error: Invalid call to save. Correct usage is:
[...]
octave:2> save = 10;
octave:3> save - x
ans = 5
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41505>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |