help-octave
[Top][All Lists]
Advanced

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

Re: How to derive from 'octave_base_value' ?


From: macy
Subject: Re: How to derive from 'octave_base_value' ?
Date: Sun, 22 Mar 2009 09:52:59 -0700

space between simple and the bracket?

On Sun, 22 Mar 2009 17:29:39 +0100
 Søren Hauberg <address@hidden> wrote:
> Hi All
> 
> I'd like to create a new type in Octave that simply holds
> a pointer to
> some object in an external library. The attached code
> implements a very
> simple type in Octave that just holds a string. This was
> the simplest
> possible type I could think of. I compile the code with
> 
>   mkoctfile -Wall simple.cc
> 
> In Octave I test the code by running
> 
>   a = simple ("hello");
> 
> which gives me the following error:
> 
>   error: value on right hand side of assignment is
> undefined
> 
> Does anybody have a hint to what I'm doing wrong?
> 
> Thanks
> Søren



reply via email to

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