我观察到在调用TDirectory.Delete(x)后立即调用DirectoryExists(x)返回true如果要删除的文件夹中包含少量文件并且该文件夹已打开(在Total Commander中)。 换句话说: begin
TDirectory.Delete('x', true); <-- 'Delete' exited but the folder is still not ful
我在比较SmallInt变量与Ord函数的结果。 实施例: var
MySmallInt : SmallInt;
begin
MySmallInt := 5;
if(MySmallInt > Ord('C'))
then ShowMessage('True')
else ShowMessage('False');
end
这样做后,示出了以