English
Examples

old to charge, yet birthday this year?

 

HofK
example to new Syntax 2016
(without var, with st.mid and @ to Prozedurparameter)
// InfinityProfan Program
// old v0.0.1
tx1 ="Alter and Feier"
tx2 = "Geburtstag stature \nTT.MM.JJJJ "
msg.box tx1 tx2 ["OK"  "Abbrechen"]  "" @eingabebox

proc eingabebox btn txt

    gebDat  = txt
    gebUnix = time gebDat
    geb     = time 10 gebUnix// Datenbankformat yyyymmdd
    print "geb. Unix-Time " + gebUnix
    print "geb. Datenbankformat JJJMMTT " + geb
    print "Alter " + old geb

endproc

proc old geb

    dat   = time 10// 10: News date Datenbankformat yyyymmdd
    datJ  = st.mid dat 1 4
    gebJ  = st.mid geb 1 4
    datMT = st.mid dat 5 4
    gebMT = st.mid geb 5 4
    print "Dieses year yet birthday celebrate? "
    print datMT<gebMT// birthday standing this year yet from?
    print 0+(datMT<gebMT)// numerische Repräsentation ...
    return -(datMT<gebMT)+(datJ-gebJ)// ... follows less How with XProfan !

endproc


in the book becomes the example yet expanded and declared. 
 
11/10/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.090 Views

Untitledvor 0 min.
HofK01/05/17
Wilfried06/12/16
OliverJung05/17/16
Boroberto04/20/16
More...

Themeninformationen

this Topic has 1 subscriber:

HofK (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