We have a policy of fixing all compiler hints and warnings (there are a few - where no matter what you do, it is no thappy). You can get rid of it by either declaring S as int64 or limiting the result before assigning.
Alistair Grant George wrote:
Hi all. Very odd, I got three replicate answers to the above. But thanks for advice understood - since the answer is not accurate, it generates an error. In this case the answer is accurate enough.
Example was too brief: s: longint; DTnum: int64; begin DTnum := int64(datetimetotimestamp(now)); S := round(DTnum / 10000); //about every 20 seconds
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
