Table 3.2

 

Variant arithmetic and logical functions available in f90VB

 

f90VB Function Name

Description

VariantAbs

Returns the absolute value of a variant

VariantAdd

Returns the sum of two variants

VariantCat

Concatenates two variants and returns the result

VariantCmp

Compares two variants

VariantFix

Returns the integer portion of a variant

VariantInt

Returns the integer portion of a variant

VariantSub

Returns the result from subtracting two variants

VariantMul

Returns the result from multiplying two variants

VariantNeg

Performs logical negation on a variant

VariantNot

Performs the binary not negation operation on a variant

VariantAnd

Performs a bitwise And operation between two variants of any integral type

VariantDiv

Returns the result from dividing two variants

VariantEqv

Performs a bitwise equivalence on two variants

VariantIDiv

Divides two variants as integers

VariantImp

Performs a logical implication on two variants

VariantMod

Divides two variants and returns only the remainder

VariantOr

Performs a logical disjunction on two variants

VariantPow

Performs the power function on two variants and returns the result

VariantRound

Rounds a variant to the specified number of decimal places

VariantXor

Performs the binary XOR comparison operation on two variants