Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
After date()
Message
De
22/11/2016 05:07:24
 
 
À
22/11/2016 02:10:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01643685
Message ID:
01643811
Vues:
55
In original dBASE the "then" keyword didn't exist -- it was likely added in some xBASE dialects to ease transition from other languages such as BASIC. I tend to use "then" out of habit from using other languages like BASIC, PL/1, Pascal, Modula 2... Funny bit is that I *don't* type "then" when programming in C/C++.

>'Then' is redundant.
>
>>thanks Tore. what is the purpose of using 'then' in an if clause as Naoto has suggested? could there be a situation where 'then' could yield a sub-routine - ie a third option to 'else' or is it redundant?
>>
>>k
>>
>>>>what is the simplest way to express
>>>>if date() after December 15 2016
>>>>do this
>>>>endif
>>>>
>>>>tnx
>>>>Karen
>>>
>>>
If date() > date(2016,12,15)
>>>   ...
>>>Endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform