[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Get Global values in Oct file
From: |
John W. Eaton |
Subject: |
Re: Get Global values in Oct file |
Date: |
Thu, 31 Oct 2019 01:09:52 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/30/19 10:28 PM, Kai Torben Ohlhus wrote:
@jwe: can you confirm that this is the right way to go in the future
with including the interpreter and using DEFMETHOD_DLD? See your cset:
https://hg.savannah.gnu.org/hgweb/octave/rev/b29904962d2d
Then I can update the demo to cause less confusion. At least it
compiles and works for me without errors and warnings:
Yes, that is the way to do it in 5.1. In the next major version you
will be able to do this job without having to reference the symbol table
object:
octave_value tmp = interp.global_varval (name);
and
interp.global_assign (name, value);
but the symbol_table functions will remain for backward compatibility.
jwe