Re: [OFFTOPIC] numeric escape sequences

From: George Greer (greerga@circlemud.org)
Date: 03/06/99


On Sat, 6 Mar 1999, Roger Smith wrote:

>Could somebody tell me the "\ddd" sequence for "~"?
>
>Or where I can find the a table of all sequences that I can use in my
>MUD?

#include <stdio.h>

int main(void)
{
  int i;

  for (i = 32; i < 256; i++)
    printf("%d=%c (%o)%c", i, i, i, i % 5 == 0? '\n' : '\t');
}

--
George Greer            | The CircleMUD FAQ
greerga@circlemud.org   | http://mouse.van.m-l.org/docs/FAQ/


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



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