Boolean Intrinsic Functions - AsNumber Method

Return the variable as a number

Member of Boolean Intrinsic Functions (PRIM_LIBI.IBooleanIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting number

Details

AsNumber will convert a variable to a number. If the variable contains characters that cannot be converted, the application will end with a run time error.
 
True will return a value of 1, while False will return a value of 0.

Example

#Result := #Variable.AsNumber

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2