Jump to content

Recommended Posts

  • boludoz changed the title to _ArraySearch not work for me.
  • Developers
2 minutes ago, boludoz said:

It doesn't return an error if it can't find something, it just returns 1. It is nothing new that _ArraySearch Fails.

What showing your code that is failing? ;) 

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.
  :)

Link to post
Share on other sites
8 hours ago, boludoz said:

It doesn't return an error if it can't find something, it just returns 1.

Any value other than zero IS an error. So, if it returns a 1 that means there was an error..

Phil Seakins

Link to post
Share on other sites
  • Developers
9 minutes ago, pseakins said:

Any value other than zero IS an error. So, if it returns a 1 that means there was an error..

Are you sure?

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.
  :)

Link to post
Share on other sites
10 hours ago, Jos said:

Are you sure?

I was referring to @error in my reply, which, unless I am mistaken always returns non zero if there was an error.

I don't think OP was referring to the return value, which will be either -1 or the array index. He was saying it was 1 so it must have been @error he was looking at as 1 can only be a valid return value.

I didn't look that closely at the question and I didn't check the help for _ArrayDisplay(). Am I sure? On reflection, I think so.

Phil Seakins

Link to post
Share on other sites
  • Developers
3 hours ago, pseakins said:

I was referring to @error in my reply, which, unless I am mistaken always returns non zero if there was an error.

👍

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.
  :)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...