|
From: | bpabbott |
Subject: | Re: parsing problem with OOP? |
Date: | Wed, 17 Nov 2010 16:01:48 +0000 (GMT) |
On Wed, Nov 17, 2010 at 7:56 AM, Ben Abbott <address@hidden> wrote:
> octave:3> f.s.words
> Reference to struct property failed.
What's happening is that the double prop is now a struct
array with prop(1) and prop(2). I think you may just need to change:
ok = strcmp (prop.type, ".");
to
ok = strcmp (prop(1).type, ".");
--judd
[Prev in Thread] | Current Thread | [Next in Thread] |