Icon View Incident Report

Minor Minor
Reported By: Doug Lyman
Reported On: 2/26/2021
For: Version 3.00 Build 1
# 4818 Increment/Decrement Operations Not Being Handled Properly in the Compiler for Initialization Hints

I'm seeing a lot of these hints when compiling my projects:

[Hint]) The I declaration may not have been initialized before being referenced

This happens inside a "for" loop:

for I := 0 to P.ControlCount - 1 do

Obviously, "I" has been assigned a value.


Comments Comments
The EWB compiler takes expressions such as I := I + 1 and converts them into an increment operation instead for performance purposes. During this expression transformation, the compiler was incorrectly assigning a reference that prevented the initialization checks from properly working.


Resolution Resolution
Fixed Problem on 2/27/2021 in version 3.01 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image