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

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

[Octave-bug-tracker] [bug #32863] x.y.z syntax for structure fails ("sca


From: Rik
Subject: [Octave-bug-tracker] [bug #32863] x.y.z syntax for structure fails ("scalar cannot be indexed with .")
Date: Mon, 21 Mar 2011 20:27:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.04 (lucid) Firefox/3.6.15

Update of bug #32863 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

Can you point out where exactly in the documentation it says that you can
combine the two statements as shown?  I did a quick look and I couldn't find
it.

Each statement is valid by itself, but they cannot follow each other without
clobbering the first assignment.  The warning message from Matlab is clearer
in this regard.

As a related example,

x = 0;
y = 1/x;

are both valid assignments, but they can't be combined without generating an
error.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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