Allocate
Description
Description
Allocate specifies the size of an array for situations where you know the exact size of your desired array.
Syntax
Syntax
trg.array.Allocate(size)
size (input) - Number of elements in the array
Return value
Return value
This function does not return a value.
Sample
Sample
'---------- Start ----------
'---------- Start ----------
Function Start
Function Start
trg.array.Allocate( 4 )
trg.array.Allocate( 4 )
End Function
End Function
In this case we allocate 4 elements in the array so it would range from arr(0) to arr(3).
See also
See also