JCL Help:DynArrayAllocSize
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: DynArrayAllocSize
Search in JCL Help
Search in all projects
Summary
Returns the allocation size for a dynamic array.
Parameters
Parameters | Description |
A | The dynamic array for which you want to know the allocation size. This array must have been previously initialized with DynArrayInitialize or the result will be unpredictable. |
Return Value
Returns the amount of dynamic memory, in bytes, reserved for the dynamic array.
Description
DynArrayAllocSize returns the amount of memory, in bytes, that are allocated for the supplied dynamic array. Since dynamic arrays are allocated with some additional maintenance data the return value will always be at least 12 bytes more than the memory needed to hold the actual elements.
See Also
DynArrayLength DynArrayElemSize DynArrayInitialize DynArrayFinalize DynArraySetLength
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