BackUp LevelNext

ArrayResize

Resets an array to a specified minimum number of elements. ArrayResize can provide some performance gains if used to size an array to its expected maximum. Use ArrayResize immediately after creating an array with ArrayNew for arrays greater than 500 elements.

Note that ColdFusion arrays expand dynamically as data is added.

Returns a Boolean TRUE on successful completion.

Syntax

ArrayResize(array, minimum_size)

array

Name of the array you want to resize.

minimum_size

Minimum size of the specified array.




BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.