Class Module 49 Members ★ 1 Top 20

Fix Ups Class

Entisoft Tools 2.0 Object Library · FixUps · 25 Functions · 0 Properties · 23 Subroutines

Showing 49 of 49
Declarations
Declarations
These functions convert values from one type to another. They are primarily used by other functions which must fix-up their Variant arguments to a type suitable for use with the function. Copyright 1998 Entisoft
Section
ArgumentsToVariant
Arguments To Variant
Places each of the arguments into an element of a Variant array, then returns that array inside a variant.
Function
ComplexStringToReals
Complex String To Reals
"Complex String To Real Numbers" Convert either a real number or a complex number into a complex number. This function considers complex numbers to be represented as strings of the form "R|I" where R is represents the numeric real part of the number and I represents the numeric imaginary part of the number.
Function
FixUpToType
Fix Up To Type
"Fix Up Value To Data Type" Convert one type of value to another data type.
Function
FixUpVariantBounds
Fix Up Variant Bounds
Return True if there is at least one element in array vArray between elements rLowerBound and rUpperBound. Assigns default values to missing rLowerBound and rUpperBound arguments using the actual bounds of the array.
Function
FixUpVariantToBooleanMandFn
Fix Up Variant To Boolean Mand Fn
"Fix Up Variant To Boolean Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Boolean data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToBooleanMaybeFn
Fix Up Variant To Boolean Maybe Fn
"Fix Up Variant To Boolean Maybe Function" Return True if rArgument can be converted to a Boolean value. Return False otherwise. Numeric strings are converted into Boolean values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToByteMandFn
Fix Up Variant To Byte Mand Fn
"Fix Up Variant To Byte Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Byte data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToByteMaybeFn
Fix Up Variant To Byte Maybe Fn
"Fix Up Variant To Byte Maybe Function" Return True if rArgument can be converted to a Byte value. Return False otherwise. Numeric strings are converted into Byte values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToCurrencyMandFn
Fix Up Variant To Currency Mand Fn
"Fix Up Variant To Currency Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Currency data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToCurrencyMaybeFn
Fix Up Variant To Currency Maybe Fn
"Fix Up Variant To Currency Maybe Function" Return True if rArgument can be converted to a Currency value. Return False otherwise. Numeric strings are converted into Currency values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToDateMandFn
Fix Up Variant To Date Mand Fn
"Fix Up Variant To Date Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Date data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToDateMaybeFn
Fix Up Variant To Date Maybe Fn
"Fix Up Variant To Date Maybe Function" Return True if rArgument can be converted to a Date value. Return False otherwise. Numeric strings and date/time strings are converted into Date values. Other values are left as-is.
Function
FixUpVariantToDecimalMandFn
Fix Up Variant To Decimal Mand Fn
"Fix Up Variant To Decimal Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Decimal data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToDecimalMaybeFn
Fix Up Variant To Decimal Maybe Fn
"Fix Up Variant To Decimal Maybe Function" Return True if rArgument can be converted to a Decimal value. Return False otherwise. Numeric strings are converted into Decimal values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToDoubleMandFn
Fix Up Variant To Double Mand Fn
"Fix Up Variant To Double Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Double data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToDoubleMaybeFn
Fix Up Variant To Double Maybe Fn
"Fix Up Variant To Double Maybe Function" Return True if rArgument can be converted to a Double value. Return False otherwise. Numeric strings are converted into Double values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToIntegerMandFn
Fix Up Variant To Integer Mand Fn
"Fix Up Variant To Integer Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Integer data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToIntegerMaybeFn
Fix Up Variant To Integer Maybe Fn
"Fix Up Variant To Integer Maybe Function" Return True if rArgument can be converted to a Integer value. Return False otherwise. Numeric strings are converted into Integer values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToLongMandFn
Fix Up Variant To Long Mand Fn
"Fix Up Variant To Long Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Long (integer) data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToLongMaybeFn
Fix Up Variant To Long Maybe Fn
"Fix Up Variant To Long Maybe Function" Return True if rArgument can be converted to a Long (integer) value. Return False otherwise. Numeric strings are converted into Long values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToSingleMandFn
Fix Up Variant To Single Mand Fn
"Fix Up Variant To Single Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Single data type. Return True if the conversion was completed successfully. Return False otherwise.
Function
FixUpVariantToSingleMaybeFn
Fix Up Variant To Single Maybe Fn
"Fix Up Variant To Single Maybe Function" Return True if rArgument can be converted to a Single value. Return False otherwise. Numeric strings are converted into Single values, date/time strings are converted into Date values, and other values are left as-is.
Function
FixUpVariantToStringFn
Fix Up Variant To String Fn
"Fix Up Variant To String Function" Leave string values as-is, and convert numeric or date arguments into string values. Return True if the argument is already a string or if it was successfully converted to one. Return False otherwise.
Function
FixUpVariantToStringFnRecursive
Fix Up Variant To String Fn Recursive
"Fix Up Variant To String Function Recursive" Convert the elements of a Variant array to string values. Function leaves string valued elements as-is, and converts numeric or date type elements into string values. Return False if any cannot be converted to a string.
Function
FractionalToReal
Fractional To Real
Convert either fractional or a real number into a real number.
Function
FixUpVariantBoundsSample
Fix Up Variant Bounds Sample
View VB6 signature, parameters, and usage notes.
Sub
FixUpVariantCompare
Fix Up Variant Compare
Fix up the Compare argument required by many functions. The Compare argument specifies the string comparison type and/or sort order/collating sequence for the function.
Sub
FixUpVariantToBooleanMandSub
Fix Up Variant To Boolean Mand Sub
"Fix Up Variant To Boolean Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Boolean data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToBooleanMaybeSub
Fix Up Variant To Boolean Maybe Sub
"Fix Up Variant To Boolean Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Boolean value. Numeric strings are converted into Boolean values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToByteMandSub
Fix Up Variant To Byte Mand Sub
"Fix Up Variant To Byte Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Byte data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToByteMaybeSub
Fix Up Variant To Byte Maybe Sub
"Fix Up Variant To Byte Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Byte value. Numeric strings are converted into Byte values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToCurrencyMandSub
Fix Up Variant To Currency Mand Sub
"Fix Up Variant To Currency Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Currency data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToCurrencyMaybeSub
Fix Up Variant To Currency Maybe Sub
"Fix Up Variant To Currency Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Currency value. Numeric strings are converted into Currency values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToDateMandSub
Fix Up Variant To Date Mand Sub
"Fix Up Variant To Date Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Date data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToDateMaybeSub
Fix Up Variant To Date Maybe Sub
"Fix Up Variant To Date Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Date value. Numeric strings and date/time strings are converted into Date values. Other numeric values are left as-is.
Sub
FixUpVariantToDecimalMandSub
Fix Up Variant To Decimal Mand Sub
"Fix Up Variant To Decimal Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Decimal data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToDecimalMaybeSub
Fix Up Variant To Decimal Maybe Sub
"Fix Up Variant To Decimal Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Decimal value. Numeric strings are converted into Decimal values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToDoubleMandSub
Fix Up Variant To Double Mand Sub
"Fix Up Variant To Double Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Double data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToDoubleMaybeSub
Fix Up Variant To Double Maybe Sub
"Fix Up Variant To Double Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Double value. Numeric strings are converted into Double values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToIntegerMandSub
Fix Up Variant To Integer Mand Sub
"Fix Up Variant To Integer Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Integer data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToIntegerMaybeSub
Fix Up Variant To Integer Maybe Sub
"Fix Up Variant To Integer Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Integer value. Numeric strings are converted into Integer values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToLongMandSub
Fix Up Variant To Long Mand Sub
"Fix Up Variant To Long Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Long (integer) data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToLongMaybeSub
Fix Up Variant To Long Maybe Sub
"Fix Up Variant To Long Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Long (integer) value. Numeric strings are converted into Long values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToRange
Fix Up Variant To Range
Fix up the argument rValue so that it is within the range from vMin to vMax. rValue will be left unchanged if it is within the range, it will be set to vMin if it is less than vMin, or it will be set to vMax if it is greater than vMax.
Sub
FixUpVariantToSingleMandSub
Fix Up Variant To Single Mand Sub
"Fix Up Variant To Single Mandatory Subroutine" Convert numeric, date/time, numeric string, and date/time string Variant values to the Single data type. Assign the default value vDefault to the argument rArgument if conversion is not possible.
Sub
FixUpVariantToSingleMaybeSub
Fix Up Variant To Single Maybe Sub
"Fix Up Variant To Single Maybe Subroutine" Assign the value vDefault to rArgument if rArgument cannot be converted to a Single value. Numeric strings are converted into Single values, date/time strings are converted into Date values, and other numeric values are left as-is.
Sub
FixUpVariantToStringSub
Fix Up Variant To String Sub
"Fix Up Variant To String Subroutine" Leave string values as-is, and convert numeric or date arguments into string values. Assign the default value vDefault to the argument rArgument if conversion is not possible.
★ Top 20 Sub
FractionalToRealSample
Fractional To Real Sample
View VB6 signature, parameters, and usage notes.
Sub