On 2016-07-22 13:49, Graeme Geldenhuys wrote: > However, the loop called a local procedure, and that local procedure > modified the loop variable. FPC never complained about it. Is this a FPC > bug? I forgot to mention, I used FPC 2.6.4. Regards, Graeme