用delphi实现两个数的异或运算,字符已经超出int64的范围,如果用real类型,xor又不支持?如何解决?
var
i,iascii,iascii1:int64;
sborth,scode:String;begin
scode:=Edit1.Text;
sborth:='198128';
iascii:=0;
iascii1:=0;
iascii:=StrToInt(sborth);
iascii1:=StrToInt(scode);
我输入4102770132,就提示‘4102770132’is not a valid integer value;是不是超出int64的范围了?如何解决这个问题呢?
var
i,iascii,iascii1:int64;
sborth,scode:String;begin
scode:=Edit1.Text;
sborth:='198128';
iascii:=0;
iascii1:=0;
iascii:=StrToInt(sborth);
iascii1:=StrToInt(scode);
我输入4102770132,就提示‘4102770132’is not a valid integer value;是不是超出int64的范围了?如何解决这个问题呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货