Hex()
Convert number to a hexadecimal string. Takes the data type into account.
Preprocessor | The function is also available in the Preprocessor, creates constants only, e.g. does not generate machine code. |
---|
Syntax: String = Hex( Expression )
Example:
dim s as string s = Hex(41394) ' output: "A1B2"