On 7/28/24 13:44, Arí Ricardo Ody via lazarus wrote: >[...] > Between the construction: > > For i := 0 to list.Count - 1 do In FPC the for-loop differs from a while-loop, as the for-loop fetches the start and end value only once. Mattias