Re: [NEWBIE] Those darn \'s

Johan.Dustler@EPK.ERICSSON.SE
Date: 03/06/98


> From: Monthigos <monthi@IDA.NET>
>
> I was working on my GREETINGS, and I was wondering how I could get it to
> show backspaces - it won't show them, obviously because they are escape
> squences (IE \r\n).
>

I take it you mean how to show backslashes in a printout.
Put a double backslash in the string and the second will
be shown.

printf("This will print a backslash: \\\r\n");

/Johan


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST