3 # 2016, Mahmoud Fayed <msfclipper@yahoo.com>
5 Load "stdfunctions.ring"
10 conversion_class_test()
13 func conversion_class_test
15 oConversion = new conversion
16 See "Test the conversion Class Methods" + nl
17 See oConversion.number("3") + 5 + nl
18 See oConversion.string(3) + "5" + nl
19 See oConversion.Ascii("m") + nl
20 See oConversion.char(77) + nl
21 see oConversion.hex(162) + nl
22 see oConversion.dec("a2") + nl
23 cHex = oConversion.str2hex("Hello")
25 see oConversion.hex2str(cHex) + nl
30 return std_number(vValue)
33 return std_string(vValue)
36 return std_ascii(vValue)
39 return std_char(vValue)
42 return std_hex(vValue)
45 return std_dec(vValue)
48 return std_str2hex(vValue)
51 return std_hex2str(vValue)