help-octave
[Top][All Lists]
Advanced

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

how to check if this exists


From: Corbin Champion
Subject: how to check if this exists
Date: Fri, 03 Feb 2006 17:56:40 +0000

If I create a variable x and x has an element
x.name = "tom"
if I do exist('x') I get a value of 1....good, but
if I do exist('x.name') I get a value of 0 even though this exists.
Is this the intended behavior? Is there a different function I should use for this?
Any help with this would be great!
Thanks,
Corbin




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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