Jump to content
Sign in to follow this  
Jdop

Getting a crash on Array error in line -1, compiled version and not when run from source code

Recommended Posts

Jdop

The new versions of Autoit seem a lot less stable. Im running 3.10

Now Im getting an array var has incorrect number of subscripts, but only in the compiled version, not when I run from Scite.

That should not happen

It refers to a non existent line -1 which does not help.

The code is quite long so Im not posting it at this time.

Share this post


Link to post
Share on other sites
OldCoder

Without the code it makes it a little hard to guess at your problem, but I've seen that -1 line number before and I think it was when I used an external routine. Are you including Array.au3? Perhaps your problem is in the syntax in the command sent to Array.au3.

Hope this is helpful.

Cheers.

:D


"Intelligence is the ability to adapt to change."                                      - Stephen Hawking                                        "...not the ability to exploit others."                                                  - OldCoder

Share this post


Link to post
Share on other sites
Jdop

I just examined my code, and found an arraydelete line that was duplicated somehow.

Removing that seems to have fixed the issue, but doesnt explain why the same code ran differently compiled.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.