[ index out of bounds ]
I have problem :(
Error: index out of bounds on line: PHP Code:
PHP Code:
In web.php have 100 lines: "Value 1" "Value 2" "Value 3" How to Fix problem? |
Re: [ index out of bounds ]
You need to learn to debug these things on your own if you are going to keep asking about trivial problems.
When you are working with strings and need to know the maximum string length (arguments 3, 5, and 7 of the parse command), you should be charsmax(szStringVariable). |
Re: [ index out of bounds ]
Quote:
lines[30][100] to lines[100][100] not work, with error: stack error and... PHP Code:
How to fix? |
Re: [ index out of bounds ]
Like I said, you need to learn to debug. What happens when you change it to 200 string? What is the value of 'count'?
P.S. stop putting brackets around your whole topic title. |
Re: [ index out of bounds ]
count = ExplodeString(lines, 50, 119, g_Data, 13) //100 (Have 100 lines on web.php)
I noticed that exceed 30 lines, gives the error: index out of bounds If change lines[30][100] to lines[100][100], give error: stack error on lines[100][100] |
Re: [ index out of bounds ]
If you are going to ignore questions/advice then I'm just going to stop posting.
|
Re: [ index out of bounds ]
Quote:
I tried your suggestions, but none worked yet. |
Re: [ index out of bounds ]
Attach your web.php and your whole .sma files.
|
Re: [ index out of bounds ]
2 Attachment(s)
Quote:
|
Re: [ index out of bounds ]
Are those the actual files you are using? I need the actual files that you are using.
|
| All times are GMT -4. The time now is 15:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.