Icon View Incident Report

Minor Minor
Reported By: Ronald van der Pas
Reported On: 9/15/2016
For: Version 2.05 Build 4
# 4449 Compiler 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 Comments and Workarounds
The workaround is to not use the procedure as a function.


Resolution Resolution
Fixed Problem on 9/16/2016 in version 2.06 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image