From: frenchc AT cadvision DOT com (Calvin French) Newsgroups: comp.os.msdos.djgpp Subject: Re: [ALLEGRO] modex & test.exe bug ??? Date: Mon, 17 Feb 1997 07:47:33 GMT Organization: CADVision Development Corp. Lines: 19 Message-ID: <5eaa61$n22@elmo.cadvision.com> References: <01bc1a7a$8480d820$4d62e2c1 AT cclub DOT sorostm DOT ro> NNTP-Posting-Host: ts16ip70.cadvision.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Shawn Hargreaves wrote: >>for(x=0;x> for(y=0;y> putpixel(x,y,(random() & 16)); >Don't you mean putpixel(screen, x, y, (random() & 16))? If you really >left out the screen pointer, I don't see how it would even compile. If >that's just a typo, it looks correct to me: in what way is the nonsense >you get different to what you expected? (random pixels do tend to look >like nonsense :-) And besides, the syntax is for(;;) not for(;,) hehehehe.... - Calvin - www.cadvision.com/frenchc