Page 1 of 1

Conversion

Posted: Tue Mar 22, 2011 11:40 am
by rsunny
Hi,

Is there any inbuilt function to Convert character to hexadecimal.

Thanks in advance

Posted: Tue Mar 22, 2011 1:12 pm
by ray.wurlod

Code: Select all

Oconv(inLink.TheCharacter,"MX0C")
or

Code: Select all

Oconv(inLink.TheCharacter,"MX")
depending on the result you want.

Posted: Tue Mar 22, 2011 1:17 pm
by rsunny
Thanks Ray ...

Posted: Mon Mar 28, 2011 8:42 pm
by rsunny
Hi ray,

Is there any function to convert the hexadecimal to hexadecimal again until it is a pure number. for example
Oconv("J","MX0C")=4A but i want the result as 441 which is that A shoukld be again converted to hexadecimal so if the input is like AJ then output should be 41441.
Is that some thing do i need to check each character in string and then convert each character into hexadecimal and check if there are characters , if there are then convert again or is there any other alternative?
Any help is really appreciated

Thanks in advance