View previous topic :: View next topic
|
Author |
Message |
gvt460
New User
Joined: 04 Mar 2005 Posts: 23
|
|
|
|
I would like to know what is meant by high-values in the cobol language. I know that is figarative constant ... but what does value it contains?
For example low-values means spaces. |
|
Back to top |
|
|
elango
New User
Joined: 27 Apr 2005 Posts: 12 Location: chennai
|
|
|
|
hi
HIGH-VALUES (the highest ASCII value the character can hold).
In contrast to Low-Value, High-Value is the
highest value in the computer's collating sequence. It
is valid only with alphanumeric fields. When compared to
any other field, High-Value is always greater. The
internal representation of High-Value in most computers
is that of all bits in a byte set to one.
High-Value is not equal to either the letter Z or the number 9 unless
those characters are the highest characters in the
computer's collating sequence.
that's it
regards
elango |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
gvt460 wrote: |
for example low-values means spaces.
|
No, low-values in EBCDIC are hex zeros.
High-values in EBCDIC are hex 'FF'. |
|
Back to top |
|
|
|