| |
|
|
Erasmus.Herold | Hallöchen ...
gives it a Possibility in Infinity-Profan a Verzögerung in Millisekunden To to achieve?
Z.B. wait 1000
Greeting Erasmus |
|
|
| |
|
|
|
Michael W. | |
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 04/09/16 ▲ |
|
|
|
|
Erasmus.Herold | 1. Ansatz: dev.thread.sleep ( long ms ) => park me in the doing the whole system one. The expected display comes first to the interval (How described). the bring then nothing.
2. Ansatz time(Raster_schwarz,5000) => The procedure "Raster_schwarz" becomes immediate called, no 5 sec interval.
what now?
Greeting Erasmus |
|
|
| |
|
|
|
Michael W. | me falls then only a Own Warteschleife one
proc Raster los_gehts = time(-1) + 5000 while time(-1) < los_gehts irgendwas_sinnvolles() wend Raster_schwarz() endproc
i don't know, whether "sleep(0)"The system moreover walk can. so would the system then others releases moreover run. simply times the function so into Loop settle. |
|
|
| System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 04/09/16 ▲ |
|
|
|
|
Erasmus.Herold | The interval on itself functions, but ... ... take we the following example:
The procedure "Schlafe" corresponds to your example.
Result: first a long interval, then The 3 Blöcke Text at a single blow and not How planned nacheinander.
Greeting Erasmus |
|
|
| |
|
|
|
Michael W. | means sleep then so realized?
proc sleep los_gehts = time(-1) + 5000 while time(-1) < los_gehts dev.thread.sleep(0) wend endproc
so as itself anhört becomes in the Loop nothing other registered. really must the system there to that Zuge come. |
|
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 04/09/16 ▲ |
|
|
|
|
Erasmus.Herold | very, park itself first one. shows subsequently any Lines at a single blow.
Greeting Erasmus |
|
|
| |
|
|
|
Michael W. | then must there well David time ran.
See here [...] and here [...]
Android operates hold something differently... |
|
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 04/09/16 ▲ |
|
|
|
|
Erasmus.Herold | okay - thanks
then remaining my Program first once without Verzögerung.
cu - Erasmus |
|
|
| |
|
|
|
| Ehm,
"time(Raster_schwarz,5000)" is already long not any more currently,
look too always into Ref: [...]
simply:
here too very beautiful Timer with Userdata: [...] |
|
|
| |
|
|
|
Erasmus.Herold | is already interestingly, which ways a Programming-Language on one mobilen Endgerät runs ...
here your suggestion into small Program umgesetzt:
The Bildschirmausgabe results but How follows:
the Program begins. now Waiting we five sec ... End of program ... (deference! now come 5 sec interval!!!) The 5000ms are now circa. |
|
|
| |
|
|
|
| so is it too correctly. and virtual, "falsch" is solely your spending "Programmende ..." because the program end Yes not. (End of program by end). |
|
|
| |
|
|