Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass param by reference or private variable?
Message
De
02/10/2019 14:38:21
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
01/10/2019 19:00:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671293
Message ID:
01671340
Vues:
52
>>That's demonstrably disprovable, John:
>>DO testfunc WITH TIME()
>>? TIME()

>>FUNCTION testfunc
>>LPARAMETERS theTime
>>    theTime = CTOT("12:15:00")   && Set the new time
>>    RETURN
>>
>>:-) Oh c'mon. That was funny. :-)

Time() is variable, but it's not a variable. ;-) It also keeps slipping into the future unless you can take a flight from Auckland to Los Angeles every day, arriving before you left. I tell clients that I'd get more done if I could do that every day. Also fun answering "it's tomorrow morning" when North Americans ask what the time is down under. ;-)
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform