Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New WEEKDAYS function.
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00821896
Message ID:
00822154
Views:
29
That that is good wrap-up on this and an excellent alternative where you have maintainability, readibility and functionality [speed] all rolled into one.

>This is an excellent routine for "Workdays" and I would keep the shortened version in my function library but with explicit comments to fully explain the function. in addition I would also use a
> #if .f.
>  Code Step && Comment
>  Code Step && Comment
>  Code Step && Comment
>  Code Step && Comment
>  Code Step && Comment
>  Code Step && Comment
>  Code Step && Comment
>#endif
>
>block so that any maintenance on this "TESTED AND PROVEN" function can be easily applied. It is my belief that known good functions SHOULD be optimized but not at the sake of enhancement. That is why MsFox gave us the * and the &&.
>
>Just my 2cents worth.
>
>Glenn
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform