How to derive from 'octave_base_value' ?
Ben Abbott
bpabbott at mac.com
Sun Mar 22 14:08:54 CDT 2009
On Mar 22, 2009, at 2:13 PM, Søren Hauberg wrote:
> søn, 22 03 2009 kl. 09:52 -0700, skrev macy at california.com:
>> space between simple and the bracket?
>
> Could you be more specific? I have quite a few spaces in my code to
> choose from :-)
>
> Søren
From your example,
a = simple ("hello");
I have the impression that he was referring to the space between
'simple' and '("hello")'.
I'm rather confident, that is not the problem. The error you obtained
is the result of no output being set. For example
function simple (str)
str = str;
endfunction
a = simple ("mystr")
error: value on right hand side of assignment is undefined
Thus, it appears that your example does not return anything. I'm not
skilled in c++, so I'm can't be of much more help.
Ben
More information about the Help-octave
mailing list