Hello,

eval() is being tagged as obsolete at https://codereview.scilab.org/#/c/10237/
evstr() is claimed to be the proper replacement.
Removing this -- almost -- duplicate is rather a good new.
However, here is a case supported by eval() and not by evstr():

eval("plot2d()")  // does the plot and returns []

while

evstr()  // does the plot but breaks with the error
-->evstr("plot2d()")
 !--error 10000
evstr : L'expression donnée n'a pas de valeur.
at line      68 of function evstr called by :
evstr("plot2d()")

What do you plan about it?

Regards
Samuel

_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to