Thema: Delphi Before and after events

Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.184 Beiträge
 
Delphi 12 Athens
 
#2

Re: Before and after events

  Alt 5. Dez 2009, 11:50
Zitat:
i'm trying to implement a Before and After Event onTime :
Depending on what?

Code:
if before 5 Minutes then
if Tm - (Min / 24 / 60) = ... then When using a TTimer or equivalent never check for equality!
e.g.
if Abs(Tm - (Min / 24 / 60) - ...) < {interval} then
Delphi-Referenz durchsuchenMin is not a good variable name, especially if it integrates the unit Math.
$2B or not $2B
  Mit Zitat antworten Zitat