Result := Buf;
_Debug;// ok
if (Result <> '') and (DriveType <> DRIVE_REMOVABLE) then
Result := DisplayName(Drv)
else
Result := '<none>';
_Debug;// ok
end
//_Debug; error compile
else
_Debug;// runtime error
Result := DisplayName(Drv);
ошибка=рантайм