Sign in to follow this  
Followers 0
Sobiech

What does this error mean?

5 posts in this topic

Posted Image

Uploaded with ImageShack.us

I can upload a code, but this is ~~ 1200 linej so i have hope for fast reply :mellow:


This world is crazy

Share this post


Link to post
Share on other sites

It means you are trying to read an index that doesn't exist in an array.

example: You have an array with 9 rows and you are trying to read row 11

example2: You have an array with 9 rows and 2 collumns and you are trying to read row2 collumn 3

To figure out what went wrong, try to reproduce the error while running the script from scite. That should show you where the error occurs.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

The variable used as an "array" has to many "numbers".

Example

Global $Array[10]

if $Array[10] = 100 then.... "this will cause an error"

The tenth array is "9" it starts at 0 through 9.

****************

The error was found on line #798. Hopefully you can/are using Scite Editor to help with errors and line numbers

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Check your array. Remember, array's start with 0 so if you define an array with 4 elements, they will be 0-3.


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Thx now working : D


This world is crazy

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  
Followers 0