[Top][All Lists]

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

Re: defining global values from C++ DLD-functions

From: Paul Kienzle
Subject: Re: defining global values from C++ DLD-functions
Date: Sat, 01 Mar 2003 07:59:21 -0500
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212

Tim Piessens wrote:


It seems that set_global_value() can be used to set a global value, but
I cannot find a function to define a global variable from a
dld-function. Does anyone have solution to do that ?

Did you try set_global_value()?  Looking at the
code, it does global_sym_tab->lookup(name,true),
which if I read the code for lookup correctly, means
that a new symbol will be defined if it is not found.

Paul Kienzle

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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