First Spear Posted April 10, 2018 Share Posted April 10, 2018 I am too anal-retentive to let this one go. When I build an IntyBASIC .bas, I often get a message that looks like Warning: invalid extra characters in line 22Warning: invalid extra characters in line 23Warning: invalid extra characters in line 24Warning: invalid extra characters in line 27Warning: invalid extra characters in line 28Warning: invalid extra characters in line 29 But I cannot seem to find the characters. The programs work normally. I can't see spaces or control characters, and it does not appear everywhere in code, only on certain lines at certain times. But once the warning appears for a line, I cannot seem to get it to go away. I'm running on Windoze 10, using UltraEdit and also Notepad. Thanks. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted April 10, 2018 Share Posted April 10, 2018 Attach just those lines in a *.bas file. Saves us guessing Quote Link to comment Share on other sites More sharing options...
+nanochess Posted April 10, 2018 Share Posted April 10, 2018 There are non-breakable spaces in your source code, Unicode 0xa0. I think Atariage forums insert these automatically replacing spaces on the left side of source code marked with CODE tag. The easiest way to get rid of them is to select manually one of these and replace with a single space in your editor. 1 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted April 11, 2018 Share Posted April 11, 2018 There are non-breakable spaces in your source code, Unicode 0xa0. I think Atariage forums insert these automatically replacing spaces on the left side of source code marked with CODE tag. The easiest way to get rid of them is to select manually one of these and replace with a single space in your editor. Something to consider for a future revision of the compiler: support multiple line-break characters, and treat non-breakable spaces as whitespace. -dZ. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.