delphi assigned
时间:2021-01-18 23:47:03
收藏:0
阅读:55
assigned 判断指针是否为空,空返回假
ptr:=GetMem(SizeOf(testrecord));
if not Assigned(ptr) then
begin
OutputDebugString(‘ nil‘);
end;
原文:https://www.cnblogs.com/fply/p/14295594.html
评论(0)