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