HiLMAs reference
Back

Conversion instructions

Next

VAR2HEX

VAR2HEX var,string[,length]

 

Description

Converts var (of any type) in hexadecimal and put result in string. Optional length parameter overrides the predefined length of the input variable.
String length should be twice the length of the variable to convert, to contain all the hexadecimal digits, otherwise output is truncated.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 var Input Any    
2 string Output String C or X Will contain an hexadecimal string
3 length Input Integer F or H or const. Default is var length

 

Examples

 


Back Start Next
EDIT2NUM Top HEX2VAR