-
Notifications
You must be signed in to change notification settings - Fork 31
LC0070
Arthur van de Vondervoort edited this page Aug 20, 2024
·
3 revisions
List objects are 1-based, so raise a diagnostic on possible cases of trying to retrieve the zero (0) index.
procedure MyProcedure()
var
myList: List of [Integer];
i: Integer;
begin
for i := 0 to myList.Count() do;
end;
procedure MyProcedure()
var
myList: List of [Integer];
begin
myList.Get(0);
end;
Read more: