隐式转换
遵循从小向大的转换原则,如整数类型数据中转换的顺序为Shortint → Smallint → Longint → lnt64
var
i:Shortint;
j:Smallint;
k:Longint;
l:Int64;
begin
i:=120;
j:=i;
k:=j;
l:=k;
end;
强制类型转换
标签:类型转换,Smallint,转换,Shortint,Delphi,Longint From: https://www.cnblogs.com/DQ-MINE/p/17128567.html《Delphi应用开发完全手册》p41