English
Forum

Timer - 2

 

E.T.
from nude. Anlass, here time one integrally simpler Timer:
CLS
Var sec& = 10'timer in sec
Var warte& = 1000'wartezeit To to updating
print "Verbleibend: " + st$(sec&) + " Sekunden"'simple display

WhileLoop sec&

    Sleep warte&
    locate 0,0'positionieren
    print "                                                       "'simple display delete
    locate 0,0'positionieren
    print "Verbleibend: " + st$(sec&-&loop) + " Sekunden"'simple display update

EndWhile

Print "-------------------------"
print "habe ready..."'action, if timer run down
waitinput
end

let itself nat. verfeinern, so the too the program on Inputs reacted etc.
 
XProfan X2
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
12/18/13  
 




maroro
straight The Loop power itself for its application not so well
with the Zeitpunkten from XProfan neither means what handgestricktes.

first detect we The actually Time and calculate tappt im dunkeln in sec circa.

later wander we these Time from the actually Time ex if The difference
The desired Size has so manage we the incident one so is it z.B. too
possible before yet with a couple tint on The Expiring time hinzuweisen.

How to that devil's fügt one View source one?

1 kB
Hochgeladen:12/18/13
Downloadcounter97
Download
 
12/18/13  
 




Julian
Schmidt
what hälst You from the method?
CLS
print "Taste pressing around the Timer To starten"
Waitinput
Var time& = &gettickcount

While (&gettickcount-time&)<=2000

EndWhile

print "Es are 2 sec vergangen...."
Waitinput
end

this is evtl. too interestingly [...] .
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
12/18/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.783 Views

Untitledvor 0 min.
Tango07/21/17
Julian Schmidt12/30/14
E.T.09/21/14
iF07/09/14
More...

Themeninformationen

this Topic has 3 subscriber:

Julian Schmidt (1x)
maroro (1x)
E.T. (1x)


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