Using PHP a lot I often find myself typing the foreach syntax when I drop back into lazarus/fpc
I know there are a number of foreach methods but they seem to be quite specific and I can't see
a more generic one.
I don't know if this is something I've missed (again ! ... sorry folks) but it would be really nice
to have a general foreach loop similar to the PHP one that does something like:
foreach TChecklistbox.items where Tchecklistbox.items[var].checked = true do
begin
whatever ....
end;
I think you can see the idea from that.
I just find that syntax very natural for many tasks.