Small company logo:
   History
 
Advertising banner:
 
 Hex
Home • Help • Customization Tools • FCAS • Language Reference • Hex
 
Purpose
Returns the string containing the hexadecimal value of a number.
Syntax
Hex (NumericExpression)


NumericExpression
This argument is rounded to an integer value before being evaluated.

Example
Sub Main()
        Dim i As Integer
        Dim hexval As String
        For i = 0 to 256
                hexval = Hex(i)
                        Print "decimal:", i
                        Print "hex:", hexval
        Next i
End Sub