From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Thu, 8 Sep 2011 12:44:13 +0200 User-Agent: KMail/1.13.6 (Linux/3.1.0-rc5-l38+; KDE/4.5.5; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201109081244.13969.dexen.devries@gmail.com> Subject: Re: [9fans] C question - completely OT, but I'd like to know the answer Topicbox-Message-UUID: 1bb1c344-ead7-11e9-9d60-3106f5b1d025 On Thursday 08 of September 2011 11:41:05 Winston Kodogo wrote: > (stuff with switch/case) btw., the semantics of switch/case in C are quite elastic; there's a neat u= se=20 of it: http://en.wikipedia.org/wiki/Duffs_device do/while interleaved with switch/case. =20 =2D-=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] =46or example, if the first thing in the file is: an XML parser will recognize that the document is stored in the traditional= =20 ROT13 encoding. (( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))