[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Set the length of a dynamic array
Source position: dynarrh.inc line 32
procedure DynArraySetLength( |
var a: Pointer; |
typeInfo: Pointer; |
dimCnt: SizeInt; |
lengthVec: PSizeInt |
); |
DynArraySetLengthsets the length of the dynamical array ato the first dimCntlengths specified in the array lengthVec. The dynamical array type is described in typeInfowhich points to a record of type TDynArrayTypeInfo
It should never be necessary to call this function directly, the standard SetLengthfunction should be used instead.
If an invalid pointer is specified, an error may occur.
SetLength |
|
Set length of a string. |
|
Type information for a dynamic array. |