Dynamic Array - Newbie Question

 

Hello Everybody,

i've read through the book and documentation to figuere out something about pushing values to an array, but it seems that you have to declare array size when declaring the array ... is there a way to make the array dynamic and push and clear elements values?

thanks,

jacob

 
You can declare arrays without size. But you need to size them before you put something in them. It usually goes something like Array_New_Size=Array_Old_Size+1; ArrayReSize( Array_New_Size );
 
ubzen:
You can declare arrays without size. But you need to size them before you put something in them. It usually goes something like Array_New_Size=Array_Old_Size+1; ArrayReSize( Array_New_Size );

Thank you! Did works great! :D
Reason: