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

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

[Octave-bug-tracker] [bug #39561] MATLAB compatibility reported incorrec


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #39561] MATLAB compatibility reported incorrectly
Date: Mon, 05 Aug 2013 13:27:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

Update of bug #39561 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report. If you mean the following syntax


x = 7 + ...
    8;


then I do not see a warning with '...' but I do with '\', as expected.

If, on the other hand, you mean line continuation inside of a double-quoted
string, then this has been fixed in the development version of Octave. This
has actually been deprecated as no longer supported in the development version
of Octave. AIUI this is to be more compatible since it is an error with
single-quoted strings.

http://hg.savannah.gnu.org/hgweb/octave/diff/531473481084/NEWS

Trying to do a '...' line continuation inside a quoted string in 3.6.4, I
indeed get:


> s = "this string ...
warning: potential Matlab compatibility problem: \ used as line continuation
marker
> continues here"
warning: potential Matlab compatibility problem: " used as string delimiter
s = this string continues here


and with the development version of Octave:


> s = "this string ...
warning: '...' continuations in double-quoted character strings are obsolete
and will not be allowed in a future version of Octave; please use '\' instead
> continues here"
s = this string continues here


Can you confirm this is the behavior that you were referring to?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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