Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with this function: dow(sys(10,fec1))
Message
From
17/11/2004 13:39:57
 
 
To
17/11/2004 10:19:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00962200
Message ID:
00962317
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
Edgar,

Substitute the line:
if dow(sys(10,(fec1))=1 or dow(sys(10,fec1))=7
with the next two lines:
lnDow = dow(ctod(sys(10, fec1)))
if lnDow = 1 or lnDow = 7
Remember that fec1 must be an integer that represents the number of days between the "Julian Day" and today.

Have a nice day
Previous
Reply
Map
View

Click here to load this message in the networking platform