Clicky
Skip to Content
Custom Search

Reply to comment

Anonymous

 

I am working on the manipulation on some Hex codes.
 
I have the following cobol code as example
 
 
01 ws-comp pic s9(4) comp value +0108.
01 ws-char redefines ws-comp.
   05 filler pic x.
   05 ws-hex pic x.
 
 
display ws-hex
 
 
 
Now the sysout will display char "%" and when viewed in hex mode
it will display the actual hex code. which is "6C"
 
 
How to display the hex codes directly without viewing in hex mode?

Reply

  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Navigation

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Number of Registered users 714
Theme by Dr. Radut.