Reported By: Peter Aschbacher Reported On: 9/8/2015 For: Version 2.01 Build 2
# 4248Accessing an Element in a Constant Array Causes the Whole Constant to Be Used There seems to be a bug which is not described in the documentation, as detailed below:
const
UpperChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
function TForm1.ChangeAlpha(input: string): string;
var
a: Char;
i: Integer;
begin
for i := 1 to 26 do
begin
// this will always give back the whole constant instead of the single char:
a := UpperChars[i];
end;
end;
ResolutionFixed Problem on 9/8/2015 in version 2.02 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial