countprinted:=0; while(countprinted <> 3) do begin write('something'); writeln; countprinted:=countprinted+1; end;
end.