Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00432546
Message ID:
00432553
Views:
20
>ok..why does this not work:
>
>lnyear = 2000
>lnmonth = 10
>lnday = 1
>
>x = {^lnyear-lnmonth-lnday}
>
>
>but this DOES work...
>x = {^2000-10-1}

Victor,

The difference between variables and literals.

This will work;

lcYear = "2000"
lcMonth = "10"
lcDay = "1"
x= {^&lYear-&lcMonth-&lcDay}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform