[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feval call to a subfunction fails when it is in a subfunction
From: |
Jaroslav Hajek |
Subject: |
Re: feval call to a subfunction fails when it is in a subfunction |
Date: |
Fri, 2 Oct 2009 07:42:09 +0200 |
On Thu, Oct 1, 2009 at 10:34 PM, Sidney Markowitz <address@hidden> wrote:
> Jaroslav Hajek wrote, On 2/10/09 9:21 AM:
>>
>> I don't think this ever worked, so it's not really a regression...
>
> I don't know about the general case of the bug, but the feval test that I
> posted does work in the 3.0.1 version that is in the Ubuntu repository. And
> it certainly worked when mgene was written, which makes it a regression from
> the standpoint of at least that application that relies on Octave.
>
When trying with 3.0.5, the feval call really works, but "mysin" is
inserted into global namespace, which is wrong.
So on the whole, it doesn't work correctly, although the result is
more satisfactory for you (maybe for most people).
In reality it doesn't really matter since the symbol table code has
been completely rewritten since.
best
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz