Clicky
Skip to Content
Custom Search

Reply to comment

Anonymous

 

Lets say I have to print all the Hex values possible in COBOL, 
 
I will start with X'00' and Keep incrementing the hex value by X'01' in a loop for all the 255 hex chars.
 
Can some one suggest the logic to approach the above problem? A friend hinted that its possible with binary addition, but could not make much out it.
 
An example program would be great point to start with this
 
 
Thanks in advance
Praveen

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.