Variant Support Routines
Go Up to API Categories Index
This topic lists all Variant support routines defined in the Delphi RTL.
| Routine | Description | 
|---|---|
| Creates a dynamic array from a Variant. | |
| Creates a Variant array from a dynamic array. | |
| Retrieves the object that implements a custom Variant type. | |
| Returns pointer to Variant's data. | |
| Handles exceptions during Variant type conversions. | |
| Returns a System.Variants.Null Variant. | |
| Returns an "empty" Variant. | |
| Creates a Variant array. | |
| Indicates an array creation error. | |
| Returns number of dimensions of a Variant array. | |
| Returns a Variant that represents a single value from a multi-dimensional Variant array. | |
| Returns high bound for a dimension in a Variant array. | |
| Locks a Variant array and returns a pointer to the data. | |
| Returns the low bound of a dimension in a Variant array. | |
| Creates and fills a one-dimensional Variant array. | |
| Sets the value of a single cell in a multi-dimensional Variant array. | |
| Resizes a Variant array. | |
| Returns a reference to the specified Variant array. | |
| Unlocks a Variant array. | |
| Casts an arbitrary Variant so that it is a custom Variant representing a complex number. | |
| Casts an arbitrary Variant so that it is a custom Variant representing a measurement. | |
| Converts a HRESULT into an Error Variant. | |
| Converts a Variant to specified type. | |
| Converts a variant to specified type. | |
| Raises an System.Variants.EVariantTypeCastError exception. | |
| Raises an exception if a specified Variant's value is System.Variants.Unassigned. | |
| Empties a Variant, so that it is unassigned. | |
| Copies a Variant to another Variant. | |
| Returns the relationship between Variants. | |
| Returns the Variant type code for custom Variants that represent complex numbers. | |
| Returns the absolute value of a complex number. | |
| Returns the square of the absolute value of a complex number. | |
| Returns the angle made by a complex number. | |
| Returns the inverse cosine of a complex number. | |
| Returns the hyperbolic inverse cosine of a complex number. | |
| Returns the inverse cotangent of a complex number. | |
| Returns the hyperbolic inverse cotangent of a complex number. | |
| Returns the inverse cosecant of a complex number. | |
| Returns the hyperbolic inverse cosecant of a complex number. | |
| Returns the inverse secant of a complex number. | |
| Returns the hyperbolic inverse secant of a complex number. | |
| Returns the inverse sine of a complex number. | |
| Returns the hyperbolic inverse sine of a complex number. | |
| Returns the inverse tangent of a complex number. | |
| Returns the hyperbolic inverse tangent of a complex number. | |
| Returns the conjugate of a complex number. | |
| Returns the cosine of a complex number. | |
| Returns the hyperbolic cosine of a complex number. | |
| Returns the cotangent of a complex number. | |
| Returns the hyperbolic cotangent of a complex number. | |
| Returns a custom Variant that represents a complex number. | |
| Returns the cosecant of a complex number. | |
| Returns the hyperbolic cosecant of a complex number. | |
| Returns the exponential of a complex number. | |
| Converts a set of polar coordinates to a complex number. | |
| Returns the inverse of a complex number. | |
| Returns the natural log of a complex number. | |
| Returns the log base 10 of a complex number. | |
| Returns the log base 2 of a complex number. | |
| Returns the log base N of a complex number. | |
| Returns the value of a complex number raised to a specified power. | |
| Returns the secant of a complex number. | |
| Returns the hyperbolic secant of a complex number. | |
| Reduces a Variant that represents a complex number to one that represents a real value, if possible. | |
| Returns the sine of a complex number. | |
| Returns the hyperbolic sine of a complex number. | |
| Returns the square of a complex number. | |
| Returns the square root of a complex number. | |
| Returns the tangent of a complex number. | |
| Returns the hyperbolic tangent of a complex number. | |
| Returns the value of a complex number multiplied by an imaginary number. | |
| Returns the value of a complex number multiplied by -i. | |
| Returns the value of a complex number multiplied by i. | |
| Returns the value of a complex number multiplied by a real number. | |
| Computes the polar coordinates that correspond to a custom Variant that represents a complex number. | |
| Returns the variant type code for custom Variants that represent measurements. | |
| Returns a custom Variant that represents a measurement. | |
| Copies a Variant. | |
| Returns a Variant with a value in a specified range. | |
| Returns the TVarType constant that identifies the internal type of a Variant as a FMTBcd.TBcd value. | |
| Creates a new Variant that stores its value internally as a FMTBcd.TBcd value. | |
| Returns a Variant containing a specified data and time. | |
| Indicates whether a Variant's value is in a specified range. | |
| Indicate Variant operation on null. | |
| Indicate invalid Variant operation. | |
| Indicates whether the specified Variant is an array. | |
| Indicates whether the specified Variant's value is by reference. | |
| Indicates whether the specified Variant has an undefined value. | |
| Indicates whether a Variant stores its data internally as a complex number. | |
| Indicates whether a Variant is a custom Variant that represents a measurement. | |
| Indicates whether the specified Variant is a custom Variant. | |
| Indicates whether the specified Variant is unassigned. | |
| Indicates whether the specified Variant represents an unassigned optional parameter. | |
| Indicates whether the specified Variant is an error Variant; optionally converts Variant back to HRESULT. | |
| Indicates whether a specified Variant represents a FMTBcd.TBcd value. | |
| Indicates whether the specified Variant represents a floating-point value. | |
| Indicates whether the specified Variant is System.Variants.Null. | |
| Indicates whether the specified Variant represents a numeric value. | |
| Indicates whether the specified Variant represents an ordinal value. | |
| Indicates whether the specified Variant represents a string value. | |
| Indicates whether the specified Variant represents a specified type. | |
| Raises an System.Variants.EVariantOverflowError exception. | |
| Raises an System.Variants.EVariantRangeCheckError exception. | |
| Raises Variant exception based on HRESULT value. | |
| Indicates whether two Variants have equivalent values. | |
| Indicates whether the Variant's value is an interface that supports a specified interface. | |
| Converts a Variant into a FMTBcd.TBcd type. | |
| Converts a specified Variant to a TDateTime value. | |
| Converts a Variant's value to a string. | |
| Converts a Variant's value to a string. | |
| Converts a Variant's value to a WideString. | |
| Converts a Variant's value to a WideString. | |
| Returns the type code of a specified Variant. | |
| Returns Variant type descriptive string. | |
| Indicates whether a Variant type code represents a type that can be used for the elements in a Variant array. | |
| Indicates whether a Variant type code represents a type that can be used for the elements in a Variant array. | |
| Adds two Variants. | |
| Adds two Variants. | |
| Performs an and operation between two Variant values. | |
| Performs an and operation between two Variants. | |
| Resizes a Variant array. | |
| Performs a type-cast on a Variant. | |
| Empties a Variant, so that it is unassigned. | |
| Copies a Variant. | |
| Divides two Variants. | |
| Divides two Variants. | |
| Assigns an Unicode string to a Variant. | |
| Returns an element from a Variant array. | |
| Returns the remainder on division of two Variants. | |
| Returns the remainder on division of two Variants. | |
| Multiplies two Variants. | |
| Multiplies two Variants. | |
| Inverts the sign of a Variant. | |
| Performs a not operation on a Variant. | |
| Performs an or operation between two Variants. | |
| Performs an or operation between two Variants. | |
| Sets the value of an element in a Variant array. | |
| Performs an shl (shift left) operation between two Variants. | |
| Performs an shl (shift left) operation between two Variants. | |
| Performs an shr (shift right) operation between two Variants. | |
| Performs an shr (shift right) operation between two Variants. | |
| Subtracts two Variants. | |
| Subtracts two Variants. | |
| Converts a Variant to an Unicode string. | |
| Performs a xor (exclusive or) operation between two Variants. | |
| Performs a xor (exclusive or) operation between two Variants. |