[futurebasic] Re: [FB] Multiple Conditions

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2004 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <PepeToo@...>
Date: Tue, 16 Nov 2004 12:46:37 -0800
Hi Pete,

I suspect you need some parens in the UNTIL - like:

UNTIL (a=la AND b=lb AND t=lt) OR MinNum> 85 

Joe Wilkins


Peter wrote:

> Hi Gang
>  I need to evaluate different conditions in a DO UNTIL Loop
> for example I need to have either 3 conditions met or another condition
>
> EXAMPLE
> DO
> MinNum = MinNum+4
> READ a,b,t,p
> UNTIL a=la AND b=lb AND t=lt OR MinNum> 85
>
>  first condition:- a=la AND b=lb AND t=lt
>
> second condition:-MinNum> 85
>
> but the loop ignores second condition and runs out of data
>
> is there a mechanism for [a=la AND b=lb AND t=lt] OR MinNum> 85
>
> Triple Pete
>
> --
>
>