E
everhappy
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TCustomComm.SetDTRState(State: boolean);
const
DTR: array[boolean] of Integer = (CLRDTR, SETDTR);
begin
EscapeComm(DTR[State]);
end;
array[boolean]相当于array[0..1]吗?
const
DTR: array[boolean] of Integer = (CLRDTR, SETDTR);
begin
EscapeComm(DTR[State]);
end;
array[boolean]相当于array[0..1]吗?