I'm writing a program in which semi-colins ( are used to end a statement. However, sometimes I want to put a semi-colin in where I don't want a end statement. In this case I simply precede it with a \ (ie \ . Then, when the program is run the \; is replaced with an unlikely squence of characters (%^). Then replaced again when the output is created.

Does anyone know of a better method to do this? It seems awfully inefficient.


uDiscuss.com - the most advanced forums on the Internet!