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

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

[Octave-bug-tracker] [bug #56032] Weird "if" parsing behavior ignores st


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56032] Weird "if" parsing behavior ignores stuff past first expression in some cases
Date: Sat, 30 Mar 2019 16:36:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

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

Also this example


v = -10;
x = 10;
y = 1;
if (x < y) or (v<=0)
  some_stuff()
else
  some_other_stuff()
end


calls 'some_other_stuff' in Matlab, same as in Octave.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56032>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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