Autor Beitrag
Mr Q
Hält's aus hier
Beiträge: 8

Win XP
D7 Enterprise
BeitragVerfasst: Mo 21.06.04 14:53 
Hallo!

Ich suche eine Function, die mir nach soundso viel Sekunden eine andere Function aufruft...

Kennt ihr da eine? :wink:

mfg Mr Q

Moderiert von user profile iconTino: Titel geändert.


Zuletzt bearbeitet von Mr Q am Mo 21.06.04 15:02, insgesamt 1-mal bearbeitet
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mo 21.06.04 14:55 

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
SvenAbeln
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 334
Erhaltene Danke: 3



BeitragVerfasst: Mo 21.06.04 15:00 
oder wie wäre es mit einem TTimer
Mr Q Threadstarter
Hält's aus hier
Beiträge: 8

Win XP
D7 Enterprise
BeitragVerfasst: Mo 21.06.04 15:19 
Also ich suche soetwas, was "setTimeout" in JavaScript entspricht. Und delay ist glaube ich nicht richtig.

Delay = Verzögerung!
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mo 21.06.04 15:36 
Zitat:
Delay = Verzögerung
Stimmt, und du willst einen Moment warten (also eine Verzögerung abwarten bevor es weiter geht, oder), wenn nicht, dann ist es der Timer, wie schon gesagt wurde.

PS: Was amcht setTimeout in Java denn, wenn es keine Verzögerung ist?

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 21.06.04 15:39 
Es wartet, aber ohne die aktuelle fkt anzuhalten.
Mr Q Threadstarter
Hält's aus hier
Beiträge: 8

Win XP
D7 Enterprise
BeitragVerfasst: Mo 21.06.04 15:43 
Also ich meine es so:

ich habe eine function, die jede sekunde aufgerufen werden soll, wenn A = true. Ich brauche also sowas wie eine while Schleife nur mit einen Zeitabstand.
Mr Q Threadstarter
Hält's aus hier
Beiträge: 8

Win XP
D7 Enterprise
BeitragVerfasst: Mo 21.06.04 15:56 
@ SvenAbeln

Danke! TTimer ist genau das, was ich brauche :D