Reported By: Doug Lyman Reported On: 2/26/2021 For: Version 3.00 Build 1
# 4818Increment/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.
CommentsThe 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.
ResolutionFixed Problem on 2/27/2021 in version 3.01 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial