Berend Jan Posted May 28, 2005 Posted May 28, 2005 (edited) hi guys, I was wondering if there was something possible like this: If $banana = 2 OR 4 Then _Getchicks() Else _GetBananas() EndIf Is there something like "OR" possible instead of having to build in multiple If's? like this: If $banana = 2 Then _Getchicks() Else If $banana = 4 Then _Getchicks() Else _GetBananas() EndIf _GetBananas() EndIf hope you guys can help me out. It would work a lot easier. Berend Jan Edited May 28, 2005 by Berend Jan
GrungeRocker Posted May 28, 2005 Posted May 28, 2005 If $banana = 2 OR $banana = 4 Then _Getchicks() Else _GetBananas() EndIf [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now