[Scilab-users] Nightmare with double quotes.

Antoine Monmayrant antoine.monmayrant at laas.fr
Mon Sep 29 11:22:12 CEST 2014


On 09/28/2014 11:08 PM, amorales wrote:
> Hi:
> Both commands were written on the same scilab window. Do you see the
> difference?
>
> -->write(6,string(”Variable x:”))
>                  !--error 2
> Invalid factor.
>
>
>
> -->write(6,string("Variable x:"))
> Variable x:
>
>
> This can be a nightmare if you don't know that there are two kinds of double
> quotes.
> By writing both commands on emacs you can see the difference.
>
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Nightmare-with-double-quotes-tp4031230.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
I would report this as a bug: the error message is not clear, it's even 
misleading.
I can understand that Scilab does not support all the unicode 
characters, but at least the error message should help the user finding 
what the problem is.

Antoine



More information about the users mailing list