Jump to content

Recommended Posts

  • Developers
Posted
If Mod($counter,2)=0 And $currentvar=$vars[0] or $vars[1] or $vars[2] or $vars[3] Then

This doesn't work like you expect and guess you need something like this

If Mod($counter,2)=0 And ($currentvar=$vars[0] or $currentvar=$vars[1] or $currentvar=$vars[2] or $currentvar=$vars[3]) Then

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Wow, yea I never knew that. Thanks!

20 minutes ago, Jos said:
If Mod($counter,2)=0 And $currentvar=$vars[0] or $vars[1] or $vars[2] or $vars[3] Then

This doesn't work like you expect and guess you need something like this

If Mod($counter,2)=0 And ($currentvar=$vars[0] or $currentvar=$vars[1] or $currentvar=$vars[2] or $currentvar=$vars[3]) Then

Jos

 

 

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
×
×
  • Create New...