From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Re: something went wrong Date: Sun, 15 Aug 1999 07:18:01 GMT Organization: Monash Uni Lines: 32 Distribution: world Message-ID: <37b66934.8789241@newsserver.cc.monash.edu.au> References: NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 934701423 18869 130.194.198.138 (15 Aug 1999 07:17:03 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 15 Aug 1999 07:17:03 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Read on... -> >void drawscreen() >{ >int i, a; >clear(bmp); >show_mouse(screen); > >for (a = 0; a < 10; a++) >{ >for (i = 0; i < 256; i++) >} Shouldn't that be another "{" ??? >putpixel(bmp, i, a, i); >} [etc, then:] >while (!key[KEY_ESC]) >{ >drawscreen(); >file://k = readkey(); >file://k = k >> 8; What is happening here? This is similar to later parts of the program. Davin. __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/