Page 1 sur 1

Bug with "white" spaces

Publié : sam. déc. 08, 2018 1:05 pm
par compsystems
Hello, I have a code written in a docx file (windows), when I copy and paste the code in xcas, then when I compile it informs me that there is an error, I think the problem is in some invalid characters, maybe the first ASCII, once it can be a tabulation character, I manually delete all spaces and and replace it from the space key, then compile perfectly.

Re: Bug with "white" spaces

Publié : sam. déc. 08, 2018 2:09 pm
par parisse
How can you expect me to do something without details?
Send the session.

Re: Bug with "white" spaces

Publié : sam. déc. 08, 2018 2:35 pm
par compsystems
please try to copy and paste the following line, after the second NOT appears a point (online version), at the time of bringing it to the entry line

NOT false,NOT​ true

in the PC version when scanning the entry line with the cursor [>] on reaching the second letter T, the cursor stops.
:1: syntax error, unexpected T_NUMBER line 1 col 18 at true

Re: Bug with "white" spaces

Publié : sam. déc. 08, 2018 4:53 pm
par parisse
There is indeed an unrecognized character, but I'm sorry, I can't handle all the strange characters that some softwares store in the clipboard. This is probably true for all other scientific softwares, you should consider switching to more compatible softwares!

Re: Bug with "white" spaces

Publié : dim. déc. 09, 2018 12:49 pm
par compsystems
Hi BP, one option can be to ignore strange characters outside the keywords, another option to show in the error message the numeric value of the strange character to detect where the problem is.

Re: Bug with "white" spaces

Publié : dim. déc. 09, 2018 5:58 pm
par parisse
That's impossible, because I don't know if an UTF8 character is visible or not.