From: cs19 AT cityscape DOT co DOT uk (BDC Client Team) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with Allegro getpixel() Date: Wed, 14 May 1997 08:50:59 GMT Organization: IP-GOLD User Message-ID: <863599859.8665.0.nnrp-1.9e9829a4@news.demon.co.uk> References: <863525228 DOT 17268 DOT 0 DOT nnrp-2 DOT 9e9829a4 AT news DOT demon DOT co DOT uk> <5lau85$4ua AT news DOT ox DOT ac DOT uk> NNTP-Posting-Host: itsb.demon.co.uk Lines: 12 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >for (x=0;x<10;x++) printf("x=%d\n",x); > >You had the test and action the wrong way around. > duh! Thanks George, it's one of those things I had sat looking at for so long I couldn't see the blindingly obvious - ah well, I just add this post to my list of 'Most embarrassingly stupid questions I ever asked this NG' Thanks again Neil