[futurebasic] IF statement problem!

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2000 : Group Archive : Group : All Groups

From: GonsalvesML@...
Date: Mon, 14 Feb 2000 13:41:32 -0500

Folks:
I am trying to use the "IF" statement or something like that inside a FOR
statement that also has select case in it.  I wanna say, 
IF seconds =3  THEN BUTTON 1 ' if any second is equal to 3 then do button 1
otherwise button 2
XELSE
BUTTON 2

I have been trying different approaches, but it's give'n me error.  What
should I do?





------------------------------PROGRAM---------------------------------------
-------------------------------------------------------------------------


FOR x% = 1 to 10
select case x%

xelse case 2
Case 1:
button 1, 1, "", (85,200)-(115,225), 128+2+4'All the following are FB^3 
Delay gUncheckedTime%
button 1, 2, "", (85,200)-(115,225), 128+2+4

button 2, 1, "", (85,200)-(115,225), 128+2+10'All the following are FB^3 
Delay gUncheckedTime%
button 2, 2, "", (85,200)-(115,225), 128+2+10
end select
next