Arraysize]: how i use it?
Arraysize]: how i use it?
hi, i need to resize array but i look documentation and i don't find any information
- Attachments
-
- Immagine.png
- (14.79 KiB) Not downloaded yet
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Arraysize]: how i use it?
If you have a dynamic array, you can resize it with the `Array_SetMaxIndex()` function. That function needs two values: the array to resize and the array's new maximum index (length).hi, i need to resize array but i look documentation and i don't find any information
`Array_GetMaxIndex()` returns the size (length) of an array, which is helpful in case you want to expand an array with x more elements.