[Scilab-Dev] eval() => evstr()
Samuel Gougeon
sgougeon at free.fr
Sun Jan 20 16:24:56 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130120/4282ba72/attachment.htm>
More information about the dev
mailing list