[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34967] Bad behavior of structures with an emp
From: |
Henrik Alsing Friberg |
Subject: |
[Octave-bug-tracker] [bug #34967] Bad behavior of structures with an empty cell |
Date: |
Fri, 02 Dec 2011 11:44:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 |
Follow-up Comment #2, bug #34967 (project octave):
Hi John,
My expectation is that the following two constructions behaves the same:
val = struct("name", {});
and
val = struct();
val.name = {};
However, the latter construction does not have the problems I have pointed
out.
For example:
* length(val) is 1.
* ans = val.name is defined.
Thanks for the quick response..
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34967>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/