====== ValHex(String variable) ====== Parses a given ''String'' in hexadecimal format into its integer equivalent. Dim ST1 AS String * 12 Dim i AS Long ST1 = "ABCD123" i = ValHex(ST1) '&HABCD123 is stored in variable I See also [[:cubloc:val:|Val]] and [[:cubloc:valsng:|ValSng]] [[cubloc:index#system_library:|Go CUBLOC home]]