English
Source / code snippets

difference Uhrzeit Time between

 

Jörg
Sellmeyer
since XProfan11 there The function Between()
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/08/11  
 



Perhaps. bid it itself hierbei too on simply The hours time 60 To take and the minutes To add circa a simple Uhrzeitzahl to obtain everybody can then with between feed could.

the would then one Einzeiler. ^^
 
08/08/11  
 




Julian
Schmidt
@IF: because colon by a arbitrary Number of supplant is similar and just as funktionstüchtig, unless even kürzer.
cls

if ZeitimBereich(time$(0),"9:00","11:00")=1

    print "Die actually System-Time is in the area 9:00-11:00"
    locate 3,1
    print "Es is "+time$(0)+" morgens"

else

    print "Die actually System-Time is not area 9:00-11:00"

Endif

waitinput

Proc ZeitimBereich

    Parameters Time$, Zeitlicher_Bereich1$, Zeitlicher_Bereich2$
    Return Between(Val(Translate$(Time$,":","0")), Val(Translate$(Zeitlicher_Bereich1$,":","0")), Val(Translate$(Zeitlicher_Bereich2$,":","0")))

ENDPROC

 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
08/08/11  
 



then need too no Between More because imho can XProfan < and > compare with Strings where AAB larger as AAA is -

müsstest thereafter whom colon against not by a digit supplant. ^^
 
08/08/11  
 



time testing...

(can Yes eachone whom Compile-Button activate...)
print "AAA"<"AAB"
print "AAB"<"AAA"
print "AAA">"AAB"
print "AAB">"AAA"
print "AAA"="AAB"
print "AAA"="AAA"
waitinput
 
08/08/11  
 




Julian
Schmidt
is correct again....
cls
print "AAA"< "AAA">"AAZ"
print "AAB"< "AAA">"AAZ"
waitinput
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
08/08/11  
 



means simply case (time$(0)>time$(0)) and (time$(0)<time$(0)) : prozessor=bisl.broken xD
 
08/08/11  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.883 Views

Untitledvor 0 min.
H.Brill08/27/20
Walter04/12/18
Uwe Lang02/06/15
Julian Schmidt12/30/14
More...

Themeninformationen



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