G
gywlily
Unregistered / Unconfirmed
GUEST, unregistred user!
Taaa = (gr1, gr2, gr3);
Taaas = set of Taaa;
procedure TForm1.Button1Click(Sender: TObject);
var
a: Taaas;
i: integer;
begin
a := [gr1, gr2, gr3];
i := byte(a);
//showmessage(inttostr(i));
end;
为什么 i 的结果是 7 ?????????????
Delphi是怎么计算出来的?
谢谢
Taaas = set of Taaa;
procedure TForm1.Button1Click(Sender: TObject);
var
a: Taaas;
i: integer;
begin
a := [gr1, gr2, gr3];
i := byte(a);
//showmessage(inttostr(i));
end;
为什么 i 的结果是 7 ?????????????
Delphi是怎么计算出来的?
谢谢