[Scilab-Dev] varn([]) changed

Samuel Gougeon sgougeon at free.fr
Tue Jan 15 11:31:57 CET 2019


Le 15/01/2019 à 11:06, Antoine ELIAS a écrit :
> I'm not sure that empty rlist is properly managed in Scilab
>
> try
> a = rlist() //without ;
>
> and overload "%r_varn" tries to access to internal fields that does 
> not exist.
> I think the trouble comes from rlist function.

Yes, this is why forbidding rlist() and setting rlist([],[]) to [] is 
somewhat proposed
@ http://bugzilla.scilab.org/show_bug.cgi?id=11077#c8
Then, in order to avoid useless errors, the new implementation varn([]) 
=> []
is rather handy. I don't see any trap that it could yield.

Other users inputs are welcome.




More information about the dev mailing list