Bug with "white" spaces
Modérateur : xcasadmin
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Bug with "white" spaces
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
How can you expect me to do something without details?
Send the session.
Send the session.
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: Bug with "white" spaces
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
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
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!
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: Bug with "white" spaces
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
That's impossible, because I don't know if an UTF8 character is visible or not.