View previous topic :: View next topic
|
Author |
Message |
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Hi,
Till now I did not learn about the Hexadecimal format content and also the way to display it.
Can somebudy help me in my 2 doubts
How can I display the hexadecimal content with say WRITE/DISPLAY stmt?
How to do the same for -ve values?
Thanks,
A. |
|
Back to top |
|
|
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Adding little more to my doubt
How can I do a HEX display if the varaible is defined as 5 digit and the content is say -5?
Thanks,
A. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can display hexadecimal representation of variables (either positive or negative) using the EM operand of WRITE/DISPLAY with the "H" mask.
See the EM parameter documentation for more details.
Also, see Programming Guide manual, "Output of Data" section.
O. |
|
Back to top |
|
|
|