Page 1 of 1

Invisible characters

Posted: Mon Jul 25, 2005 3:17 pm
by lawrencemossdene_
When I try to compile source code I sometimes get a compile error that refers to a blank line or a line before a blank line. If I backspace to clear the blank line back to the last character of the previous line and then create a new blank line by two 'return' key operations, the code then compiles OK. There must be invisible characters present that confuse the compiler.

How do I get round this please?

Other than this problem I have been using TP for a couple of years and find it great.

Thanks for any help.

chars

Posted: Mon Jul 25, 2005 3:20 pm
by mcai8rw2
is it not possible to do a regular expression search and replace for the new line [\n]?

Or prehaps there is a control character there. If there is use the [[:cntrl:]] search and replace. :lol:

Invisible characters

Posted: Mon Jul 25, 2005 3:30 pm
by lawrencemossdene_
Many thanks, I will try your solutions when I have the problem next time.

Posted: Wed Jul 27, 2005 9:20 am
by ninjalabs
what compiler just out of interest?