xHarbour Reference Documentation > Function Reference |
Determines for how much array elements memory is pre-allocated.
ALenAlloc( <aArray> ) --> nElements
The function returns a numeric value specifying the number of elements memory is pre-allocated for.
The function is used to determine for how much array elements memory is pre-allocated. This is accomplished with function ASizeAlloc() which is available for memory optimization of dynamically growing arrays.
See also: | AAdd(), Array(), ASizeAlloc() |
Category: | Array functions , xHarbour extensions |
Source: | vm\arrayshb.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com