delorie.com/archives/browse.cgi | search |
From: | "Graeme Fenwick" <gfenwick AT BYESPAMprimex DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <3678fb52 DOT 0 AT mercury DOT nildram DOT co DOT uk> <75avcd$9jd$1 AT news1 DOT bu DOT edu> <367a1808 DOT 0 AT mercury DOT nildram DOT co DOT uk> <367AEA3A DOT 31703F2B AT cartsys DOT com> |
Subject: | Re: Allegro keypressed() always returning False |
Date: | Sun, 20 Dec 1998 14:43:26 -0000 |
Lines: | 26 |
X-Newsreader: | Microsoft Outlook Express 4.72.2106.4 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4 |
NNTP-Posting-Host: | ppp47-25.dial.nildram.co.uk |
Message-ID: | <367d140d.0@mercury.nildram.co.uk> |
X-Trace: | 20 Dec 1998 15:13:17 GMT, ppp47-25.dial.nildram.co.uk |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Nate Eldredge wrote in message <367AEA3A DOT 31703F2B AT cartsys DOT com>... >Graeme Fenwick wrote: >> Seriously... thanks to everyone who spotted that. Sometimes it needs a fresh >> eye to spot an obvious error that's been overlooked, like that one. > >I've found that a really good way to avoid such errors is with Emacs' >indentation engine. For your example, it would have indented `if...' >and `return...' the same. At first, I always think there's a bug in the >indenter, then I look at my code and find it's wrong. It really helps >when you're so sure of what you wrote that you can't see errors. Cheers! I use Emacs, so I'll have a closer look at the C-mode info on stuff like that.... ============================================ Graeme Fenwick | gfenwick AT BYESPAMprimex DOT co DOT uk "Please remove BYESPAM filter when replying by mail" -- WILLIAM SHAKESPEARE, Hamlet.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |