Thread
:
Array Copy Stock
View Single Post
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
03-30-2012 , 21:27 Re: Array Copy Stock
#
35
Quote:
Originally Posted by
Exolent[jNr]
You don't understand.
Code:
new
array
[
3
]
;
for
(
new
i =
0
; i <
10
; i++
)
{
log_amx
(
"%d"
, array
[
i
]
)
;
}
That will produce a runtime error of "index out of bounds" when i equals 3 since it isn't within the index range for the array.
+1
__________________
PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth
[
66%
done
]
Call of Duty: MW2
[
100%
done
]
Base Builder
[
100%
done
]
Tirant
View Public Profile
Send a private message to Tirant
Visit Tirant's homepage!
Find More Posts by Tirant