View Single Post
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 03-30-2012 , 21:27   Re: Array Copy Stock
Reply With Quote #35

Quote:
Originally Posted by Exolent[jNr] View Post
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 is offline