Project

General

Profile

Bug #4178

FWD and Progress report runtime integer overflow differently

Added by Vladimir Tsichevski almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Vladimir Tsichevski almost 7 years ago

The same code, containing a runtime error (integer underflow), causes different reaction in FWD and Progress:

  1. FWD displays one alert box;
  2. Progress displays two alert boxes in sequence.

The code:

def var i as int init -2147483648.
i = i - 1.

The first message box displays:

Value -2147483649 too large to fit in INTEGER. (15747).

The second (displayed only by Progress) is:

Unable to update Field. (142).

Also available in: Atom PDF