AsHexString Function |
Namespace: XSharp.RT
FUNCTION AsHexString( uValue AS USUAL ) AS STRING
public static string AsHexString( Usual uValue )
1LOCAL cAlpha AS STRING 2LOCAL siSum AS SHORTINT 3cAlpha := "ABCDEF" 4siSum := 100 5? AsHexString(cAlpha) // 41 42 43 44 45 46 6? AsHexString(siSum) // 00000064 7? AsHexString("abcdef") // 61 62 63 64 65 66