cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SIGNCOMPARE Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     When the SIGNCOMPARE directive is set in a program using the EBCDIC
     character set, the way that some numeric comparisons are performed
     is changed. For example, an unsigned data item that contained 1234
     would be equal to a signed data item that contained +1234.
 
     Setting SIGNCOMPARE causes these comparisons to be much less efficient
     than usual. If you are using an add-on product, the behavior of
     intermediate code with NOSIGNCOMPARE specified is the same as the
     behavior of generated code with SIGNCOMPARE specified. That is to say,
     if you use the default setting of this directive, the behavior in
     intermediate code and generated code is different.
                                    -♦-