RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarArrayOf Function

Creates and fills a one-dimensional variant array.

Pascal
function VarArrayOf(const Values: array of Variant): Variant;
C++
Variant VarArrayOf(const array of Variant Values);

Variants

VarArrayOf returns a one-dimensional variant array with the elements given by the Values parameter 

Values is an array of Variant values to convert into a Variant array.

Note: Values_Size indicates the index of the last value in the Values array (one less than the number of values).
The low bound of the returned array is zero, the high bound is the number of values given by the Values parameter less one (Values_Size), and the element type is Variant. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!