[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] Numeric field problem
From: |
Roger While |
Subject: |
[open-cobol-list] Numeric field problem |
Date: |
Tue Jan 4 06:40:17 2005 |
A nice little problem to get the new year going :-)
Field defined as pic S9(9)
Move 1000 to field
add -1500 to field
display field
999999500+
Ooops
Quick fix to get correct results is to disable optimization
of numeric display fields in cob_add_int()
Until I have time to investigate further, I will push the quick fix
into CVS later.
Roger
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [open-cobol-list] Numeric field problem,
Roger While <=