Error信息: Project Cache.exe raised exception class EInvalidOp with message 'Invalid floating point operation'. Process stopped. Use Step or Run to continue.
Invalid floating point operation <----- 不合法的浮点操作if 语句之后应该是一个boolean变量 所以办法就是: if (CompareDate(MLBArray[K].TimeRec,TimeLRU)=-1) then 加个括号就可以了....
Project Cache.exe raised exception class EInvalidOp with message 'Invalid floating point operation'. Process stopped. Use Step or Run to continue.
不合法的浮点操作if 语句之后应该是一个boolean变量
所以办法就是:
if (CompareDate(MLBArray[K].TimeRec,TimeLRU)=-1) then
加个括号就可以了....
TimeLRU这两个是什么东东?用date没问题