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

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

[Octave-bug-tracker] [bug #36818] same line if + more


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36818] same line if + more
Date: Mon, 09 Jul 2012 19:47:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Update of bug #36818 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

1. You could probably do away with the  ~=0 part. Anything unequal to 0 would
be considered true

2. If you add a semicolon or comma after the if statement proper, the error is
gone as well, like:
if (exist ('OCTAVE_VERSION')); more off; end

Contrary to the answer in your link to stackoverflow.com, I think this is not
a buglet associated with the more function, but just sloppy syntax (sorry).
FYI, Matlab often complains in a similar fashion about that syntax (if ML
could be considered an authorative comparison at all, of course)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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