Mail Archives: djgpp/2001/03/06/10:51:31
Deadline <No AT notright DOT co DOT uk> wrote:
> Hi have a look at the code below. rhide gives
> the error: "unknown escape sequence: `\' followed by char code 0 * 20"
> this code compiles ok in Borland tclite.
The character code was 0x20, I guess, not 0*20. That's the ASCII code
for the space character. You obviously have a dangling space between
the '\' and the actual end of the line.
If Borland groks that, their preprocessor is broken.
> It looks like the end of the line backslash may be the problem but what
> could I use to continue the next line if not \ ?
Direct string constant concatenation:
printf("\Numbers: %i\n %i\n %i\n"
" %i\n %i",a,b,c,d,e);
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -