Reported By: Ronald van der Pas Reported On: 9/15/2016 For: Version 2.05 Build 4
# 4449Compiler Allows the Use of Dec/Inc Procedures As Functions I created the following function, but then I realized that I used dec as a function and the compiler did not complain.
function TForm1.GetClickedTijdvak(ClickedIndex:integer):integer;
begin
ClickedIndex:=dec(ClickedIndex);
Result:=ClickedIndex;
end;
Comments and WorkaroundsThe workaround is to not use the procedure as a function.
ResolutionFixed Problem on 9/16/2016 in version 2.06 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial