Kbase P36270: ASSIGN with WHEN does not work correctly
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/11/2006 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
ASSIGN with WHEN does not work correctly
The WHEN portion is evaluated BEFORE the assign is done
In these example:
ASSIGN log1 = (record.field = 'somevalue')
sum = sum + record.fieldvalue
sum2 = sum2 + "value" WHEN log1.
log1 is false before the assign, but the assign sets it to TRUE. Thus, the sum2 will not be updated.
9.1D06
CAUSE:
Bug# 20030809-002
FIX:
Upgrade to 10.0B