我觀察到在調用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
這樣做後,示出了以