VALH Function                                                                                                                                                                    

Convert a HEX string into an integer value

 

VALH(expression)

 

Arguments

expression     String -  A string containing a Hexadecimal value

 

Remarks

This function returns an integer value. If the string does not contain a HEX string then the script will stop and report an error.  

 

Example

Dim Result as integer

Dim Value as string

Value = "55"                        

Result = VALH(value)         // Result contains integer value 85