Jump to content
Sign in to follow this  
Berend Jan

OR command

Recommended Posts

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 by Berend Jan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...