Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!eneevax!umd5!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: need cpp macros to concatenate names Message-ID: <7289@brl-adm.ARPA> Date: Thu, 7-May-87 16:59:19 EDT Article-I.D.: brl-adm.7289 Posted: Thu May 7 16:59:19 1987 Date-Received: Sat, 9-May-87 09:28:49 EDT Sender: news@brl-adm.ARPA Lines: 16 If you really intend to be portable to any conceivable S5-compatible implementation, I suggest you use "m4" and/or "sed", since there's no *documented* way of gluing tokens together in pre-ANSI C. I seem to remember the following from net.lang.c (alias info-c): #define ident(a)a #define glue(a,b)ident(a)b FOO glue(Hello,World) BAR Is there anything wrong with this? Or is it merely of limited use? (Root Boy) Jim "Just Say Yes" Cottrell