checking array length, and creating them dynamically
Hello.
I want to create array then use it in loop so i need its length. Are there some array_fill and count functions ? |
Re: checking array length, and creating them dynamically
"sizeof" E.g:
Code:
new Array[32]; |
Re: checking array length, and creating them dynamically
Thank you very much :)
|
Re: checking array length, and creating them dynamically
Oh, and if you wanted to do stuff to the array's elements, be sure that when you loop, you do sizeof - 1, because if you did something with array[32], in Alka's example, you would get errors because array[32] doesnt exist
|
| All times are GMT -4. The time now is 11:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.