From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function VarArrayOf(const Values: array of Variant): Variant;


extern DELPHI_PACKAGE System::Variant __fastcall VarArrayOf(System::Variant const *Values, const int Values_High);


Type Visibility Source Unit Parent
function public
System.Variants System.Variants


Creates and fills a one-dimensional variant array.

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.

See Also

Code Examples