W
woodyou
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TFrm_AddUser.strngrdsearchid(mysearch : string); var a:Integer; begin for a:=1 to strngrduser.rowCount-1 do begin if Trim(strngrduser.Cells[1,a] )=mysearch thenExit elsea:=a+1; end; end;竟然通不过,报E2081 Assignment to FOR-Loop variable 'a'如果用 while如何改