Jump to content

Recommended Posts

Posted

Hi Everyone,

My script is throwing an error "Line 9372 - Error: Subscript used on non-accessible variable"

I've found a few examples of errors "Subscript used on non-accessible variable" seems I might have been doing a loop that has an empty value?

My only concerns is that line 9372, the others are reporting a different line... Is it because AutoIT code has been recoded and uses different lines for every.exe created?

Should I just worry about the "Error: Subscript used on non-accessible variable" which means one of my "For" is not working properly.

If that's the case, I will make sure to only run For's when they my arrays exists or not Zero... Is this the right way?

  • Developers
Posted
1 hour ago, Sly01 said:

Should I just worry about the "Error: Subscript used on non-accessible variable" which means one of my "For" is not working properly

Yes...  It obviously is an error.

Show the script and we might be able to assist! 😉

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
1 hour ago, Jos said:

Yes...  It obviously is an error.

Show the script and we might be able to assist! 😉

I re-wrote my code already that all for has a check before if there is an error already.

Let's see if that fixes it

Posted (edited)

[Removed]

Well the check I did, didn't work because I still got the error...

If anyone want to look at that 😕

Edited by Sly01
Posted (edited)

Still got the error but now it gives line 9390.......

There is no way to find which line is that is there? 

Edited by Sly01

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