E
everhappy
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TCustomComm.SetRTSState(State: boolean);
const
RTS: array[boolean] of Integer = (CLRRTS, SETRTS);
begin
EscapeComm(RTS[State]);
end;
array[boolean]等价于array[0..1]吗?
const
RTS: array[boolean] of Integer = (CLRRTS, SETRTS);
begin
EscapeComm(RTS[State]);
end;
array[boolean]等价于array[0..1]吗?