[Scilab-Dev] Modifying permanent variables for Scicos

Enrico Segre enrico.segre at weizmann.ac.il
Sun Nov 16 12:47:35 CET 2008


Enrico Segre wrote:
>
> bug of predef in scilab5 then? 

no, present in 4.1.2 as well, with side implications. See for example
http://bugzilla.scilab.org/show_bug.cgi?id=686
http://bugzilla.scilab.org/show_bug.cgi?id=667

I think anyway predef() is crap. Other pearls:

-->predef([1 2])
              !--error 204
predef: Wrong type for argument 1: Scalar, 'min' or 'max' expected.

-->predef('max')
              !--error 901
Unknown option

and:

-->predef('a');predef('a')
                        !--error 13
Redefining permanent variable.
 
-->quit
 
Warning: recursion problem..., cleared.




More information about the dev mailing list