On Tue, 24 Jun 2003 15:44:38 -0400, Kevin OKeefe wrote: > > this slash '\' is continuation not '/'... >
I guess depending on the compiler it interprets '??/' as a'\' from: http://www.gotw.ca/gotw/086.htm T Nikolai Smirnov writes: "Probably, what's happened in the program is obvious for you but I lost a couple of days debugging a big program where I made a similar error. I put a comment line ending with a lot of question marks accidentally releasing the 'Shift' key at the end. The result is unexpected trigraph sequence '??/' which was converted to '\' (phase 1) which was annihilated with the following '\n' (phase 2)." [1] The "??/" sequence is converted to '\' which, at the end of a line, is a line-splicing directive (surprise!). In this case, it splices the following line "++x;" to the end of the comment line and thus makes the increment part of the comment. The increment is never executed. well, i will stop now and go back into my hole.... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
