Hi,
Is there any inbuilt function to Convert character to hexadecimal.
Thanks in advance
Conversion
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
Oconv(inLink.TheCharacter,"MX0C")
Code: Select all
Oconv(inLink.TheCharacter,"MX")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
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
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