Field-Map Scripting

4.1.10.10 VarIsNumeric

VarIsNumeric function


Prototype:

function VarIsNumeric(const Data :variant) :boolean;

Description:

Indicates whether the specified Data is a numeric value.

Syntax:

variable:= VarIsNumeric(Data);


Part

Description


variable

variable declared as a boolean


Data

variable declared as  variant

Return value:

True if the given variant's type code indicates a numeric value of some sort. This can be either a floating-point value or an ordinal value. If the variant contains any other type of value, the function result is false.


Note: This function is available since version X7.




See also:

SetArrayLength; GetArrayLength; VarArrayOf; VarArrayCreate; VarArrayDimCount; VarArrayLowBound; VarArrayHighBound; VarType; VarIsArray; VarIsNumeric; SetVarArrayValue; GetVarArrayValue