From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: Thanks, HELP! mouse problems Date: Sat, 17 May 1997 05:03:50 +0100 Organization: None Distribution: world Message-ID: References: <01bc6257$9ed88cc0$LocalHost AT stachowiak> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <01bc6257$9ed88cc0$LocalHost AT stachowiak>, Helix > > if ((mouse_b & 1) & (mouse_x > fx) & (mouse_x < lx) & (mouse_y > fy) & >(mouse_y < ly)) > CityBackPix(); Why do you have each condition in () brackets?? And why only the one &'s I thought your HAD to use two &&???? I just uploaded some stuff to my site, look at the map editor in the "diary of a game" section, it has a VERY similar "if" routine to yours. -- http://www.jenkinsdavid.demon.co.uk for C programmers. ICQ number 957766 http://www.mirabilis.com/ David Jenkins