FOR LOOP
FOR LOOP
for(set(i,0),i LT layer.count, inc(i),
if(layer[get(i)].dog == 'Labrador', DoBark());
);
Reference