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

classic Classic list List threaded Threaded
2 messages Options
Jens Jens
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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.

Kind regards
Jens

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab 6, Exclamation mark in variable names

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


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Loading...