整形不能超过256

b:=Byte(StrToInt(n));

var
  s: string;
  b: Byte;
begin
  s := Edit1.Text;
  b := Byte(StrToInt(s));
end;

相关文章:

  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2022-01-28
  • 2021-07-08
  • 2021-06-17
猜你喜欢
  • 2022-12-23
  • 2021-07-26
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案