[Scilab-users] Scilab 6, Exclamation mark in variable names

Samuel Gougeon sgougeon at free.fr
Sat Apr 8 23:38:12 CEST 2017


Hello Jens,

Le 08/04/2017 à 23:24, Jens Simon Strom a écrit :
> Hi,
> The character "!"  in variable names is parsed as "unexpected token" 
> and terminates  execution. Will this be corrected to comply with the 
> documentation saying "Names of variables and functions must begin with 
> a letter or one of the following special characters '|%|', '|_|', 
> '|#|', '|!|', '|$|', '|?|'. Next characters may be letters or digits 
> or any special character in '|_|', '|#|', '|!|', '|$|', '|?|'."?
>
> Hundreds of my self defined functions use "!" as initial character to 
> remind me that the name belongs to a function.

Confirmed. This is a bug. Indeed,  !a = 2  was accepted in Scilab 5.5.2.
Could you please report it on bugzilla?
Thanks
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170408/44ad71dd/attachment.htm>


More information about the users mailing list