Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-25 Thread DominicErnst
Hi Tim Thank you for the hint. I actually do totally agree to your suggestion that this is not very good style. I thought, that since I will most probably never use the function beta in this particular project I could risk this kind of usage. However, I will try to avoid redefining built-in functi

Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-24 Thread Tim Wescott
On Mon, 2015-06-22 at 02:31 -0700, DominicErnst wrote: > Dear all, > > I stumbled across a strange behavior I don't understand correctly. > Please also refer to the simplified code extract below. > > Apparently beta(x,y) refers to a built in SciLab function (beta function > (Euler integral of the

Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread DominicErnst
Hi Samuel Thanks for your reply. That's what I thought, but as a beginner I'm always careful saying 'This is a bug', as I am not always sure I got everything right. Using Beta instead of beta is a good idea. Thanks a lot. Best, Dominic - -- Dominic Ernst CNC-PLC Software Developer @ Bys

Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread Samuel Gougeon
Hello Dominic, Le 22/06/2015 11:31, DominicErnst a écrit : .../... Now, if I try to write-access a particular value in this now initialized vector I get the Warning "Warning: obsolete use of '=' instead of '=='.". It looks like a bug. After the beta=zeros(1:10)'; overwriting assignment, funptr(

[Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread DominicErnst
Dear all, I stumbled across a strange behavior I don't understand correctly. Please also refer to the simplified code extract below. Apparently beta(x,y) refers to a built in SciLab function (beta function (Euler integral of the first kind)). If I redefine the function by a simple vector variable