Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After date()
Message
From
22/11/2016 05:07:24
 
 
To
22/11/2016 02:10:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01643685
Message ID:
01643811
Views:
54
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
Previous
Reply
Map
View

Click here to load this message in the networking platform