English
Forum & Help

Program - lass you Time ...

 
- Page 1 -



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
 
04/09/16  
 



 
- Page 1 -



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 X3
System: 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
 
04/09/16  
 




Michael
W.
then must there well David time ran.

See here  [...] 
and here  [...] 

Android operates hold something differently...
 
XProfan X3
System: 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
 
04/09/16  
 



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:  [...] 
 
04/10/16  
 




Erasmus.Herold
is already interestingly, which ways a Programming-Language on one mobilen Endgerät runs ...

here your suggestion into small Program umgesetzt:
// Timer
cls
print "Das Prrogramm begins."
print "Nun Waiting we five sec ..."
dev.thread.settimer(5000,@meineTimerProc)
print "Programmende ..."

proc meineTimerProc

    print "Die 5000ms are now circa."

endproc


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.
 
04/10/16  
 



so is it too correctly. and virtual, "falsch" is solely your spending "Programmende ..." because the program end Yes not. (End of program by end).
 
04/10/16  
 



 
- Page 2 -



Erasmus.Herold
okay - but I had me here over a sequentielle Abarbeitung gefreut ...
print "Das Prrogramm begins."
print "Nun Waiting we five sec ..."
dev.thread.settimer(5000,@meineTimerProc)
print "Programmende ..."
 
04/10/16  
 



would have presumably not, because the OS would whom Process terminate if you active wait - is konzeptionell with Android even differently virtual. so there too no Waitinput, because what otherwise except Waitinput should The APP because do as they grade nothing does.

The Settimer-function gives you too a handle for Killtimer, accordingly one Waiting on this place neither meaningfully would.
 
04/10/16  
 




Erasmus.Herold
okay - thx - closed
 
04/10/16  
 




Michael
W.
If one sequentiell on The Timer-Events react would like then can itself as a global counter or switch building, whom one then abfragt. so white one then whether and which Event already gefeuert has.

with Events wait one Yes in a Loop always on any Messages. so ought to to the then in Program release.
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/10/16  
 




Erasmus.Herold
okay - lovely
 
04/10/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

15.342 Views

Themeninformationen

this Topic has 3 subscriber:

Erasmus.Herold (9x)
Michael W. (5x)
iF (3x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie