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: Tue, 22 Mar 2011 20:30:26 +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

Follow-up Comment #4, bug #32863 (project octave):

The suggested behavior from Matlab seems to be the same for Octave.


x.y = 1;
x.y.z = 2; 
# This produces error as it would overwrite x.y
x.y = [];
x.y.z = 2
# This is fine, because x.y is empty



    _______________________________________________________

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]