how about for i:= low() to high() do begin..??