Skip to main content

Differences in COMPUTE between ints and gnts.

  • Feb 15, 2013 10:50 PM UTC
  • 0 replies
  • 12 views

Dominique Sacre
Forum|alt.badge.img+2

Problem:

After applying a fix patch to Server Express 4.0 SP2 a customer noticed a difference between the COMPUTE statement in that it correctly calculates an int file but gave the wrong results in a gnt file.

Resolution:

After setting the Compiler directive HOSTARITHMETIC the desired results were achieved.

There is a KB article about HOSTARITHMETIC as new compiler directive: (KB 19918) which is recommended to read as it contains detailed information to this compiler directive.

Old KB# 4512