View previous topic :: View next topic
|
Author |
Message |
haidude
New User
Joined: 11 May 2007 Posts: 10 Location: Mumbai
|
|
|
|
I have a comp-3 value '1234',now this value is moved to Comp varialble,what will happen? |
|
Back to top |
|
|
Raphael Bacay
New User
Joined: 04 May 2007 Posts: 58 Location: Manila, Philippines
|
|
|
|
The comp variable will still contain 1234 except in binary format. |
|
Back to top |
|
|
haidude
New User
Joined: 11 May 2007 Posts: 10 Location: Mumbai
|
|
|
|
How we can see the the Comp values,it is possible thru Disply staatement?How the value 1234 is looks in Comp? |
|
Back to top |
|
|
Raphael Bacay
New User
Joined: 04 May 2007 Posts: 58 Location: Manila, Philippines
|
|
|
|
I think you have to move it to a usage is display number like pic 999
or an editting format like bbbb99999.999.
If you display it as it is you will probably get garbage. |
|
Back to top |
|
|
Santoshdorge
New User
Joined: 27 Jun 2006 Posts: 48 Location: Pune
|
|
|
|
Hi
In the vs cobol II it allows u to display comp values also
Check it out
Thanks,
Santosh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, you can directly display the comp field.
If you search in this forum, you will find a topic where many formats are discussed and the results when they are displayed. |
|
Back to top |
|
|
|