Path: utzoo!attcan!uunet!nbires!ncar!gatech!udel!mmdf
From: gay%CLSEPF51.BITNET@cunyvm.cuny.edu (David Gay)
Newsgroups: comp.sys.amiga
Subject: Re: Abuse of 'C'
Message-ID: <3179@louie.udel.EDU>
Date: 30 Jun 88 22:25:09 GMT
Sender: mmdf@udel.EDU
Lines: 21

In article <6941@cup.portal.com>, doug-merritt@cup.portal.com writes:

> >#define ctrl(c) \
> >    (((c)<' ')?("^"[1]=(c)+'@',""[-2]):(((c)>'~')?"^?":(""[0]=(c),""[-1])))
Shouldn't this be
#define ctrl(c) \
    (((c)<' ')?("^"[1]=(c)+'@',"" - 2):(((c)>'~')?"^?":(""[0]=(c),"" - 1)))
                                 ^^^^                               ^^^^

>
> Thank you for the appreciation :-), that monstrosity was my invention.

Well, it was at least worth a good laugh ...

---
David Gay                           Studying Computer Science at the EPFL,
                                    Ecole Polytechnique Federale de Lausanne,
How do you invent a signature ?     Switzerland.

GAY@ELDE.EPFL.CH, or
GAY@CLSEPF51.bitnet (till August)