Mail Archives: djgpp/1997/11/01/00:48:37
----------
> From: Gautam N. Lad <gautam AT interlog DOT com>
> To: djgpp AT delorie DOT com
> Subject: Re: Mouse polling : Giving me a headache! HELP HELP HELP
(Allegro).
> Date: Thursday, October 30, 1997 03:15
>
> Hi,
> David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk> wrote:
> [SNIP]
> > while (mouse_b & 1) { } // Program sticks in this loop till the
> >mouse button is released.
>
> Oh God, not again! (No offence).
> I stated in my message that I DON'T WANT TO POLL WHILE MOUSE IS
> DOWN method. I want to stick in the loop until mouse is pressed.
>
> Hope you understand, what I mean!
> Bye!
like:
while( !mouse_b )
{
//do stuff here
}
ie, it stays in the loop until a mouse button is pressed
J Love
- Raw text -