JCL Help:DynArraySetLength
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: DynArraySetLength
Search in JCL Help
Search in all projects
Summary
Sets the length of the dynamic array.
Parameters
Parameters | Description |
A | The dynamic array to resize. |
NewLength | The new length, in terms of number of elements, of the array. This value must be greater than or equal to 0. Note that setting the array's length to 0 does not release all of it's associated memory. You must call DynArrayFinalize when done using the dynamic array. |
Description
DynArraySetLength sets the length of the specified dynamic array. The array must have previously been initialized with DynArrayInitialize. This function maintains the contents of the elements in the array before resizing it and in the situation where the array grows, the new elements are initialized to 0.
See Also
DynArrayAllocSize DynArrayLength DynArrayElemSize DynArrayInitialize DynArrayFinalize
About
Donator
Marcel van Brakel
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page