xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

ALenAlloc()

Determines for how much array elements memory is pre-allocated.

Syntax

ALenAlloc( <aArray> ) --> nElements

Arguments

<aArray>
This is the array to query pre-allocated memory for.

Return

The function returns a numeric value specifying the number of elements memory is pre-allocated for.

Description

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.

Info

See also:AAdd(), Array(), ASizeAlloc()
Category: Array functions , xHarbour extensions
Source:vm\arrayshb.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe