CnPack Forum

#1 问一个看似很平常的问题
下例两种方法有区别吗？
1.
begin
with TXXObject.create() do
try
......
finally
Free
end;
end

2.
var
XXX:TXXObject
begin
XXX:=TXXObject.create()
with XXX do
try
......
finally
FreeAndNil(XXX);
end;
大家不要笑话我啊
7/30 11:58
niaoge

#2
..

#1 >>Next Page

Forum:技术板块灌水区 ...
Thread:问一个看似很平常的问 ...
Next Thread:如何返回Pchar类型的0 ...

Home
Login

Powered by Discuz!