Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a STOD command/function?
Message
From
03/05/2002 09:42:42
 
 
To
02/05/2002 09:58:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00651378
Message ID:
00652361
Views:
59
Thanks for the clarification Hilmar.

How in the world do I find out these things from my references? I looked under everything I could think of. Looking for ^ gets nothing and I didn't see it in the Date command areas and it's not listed in the indexes. I used to pride myself for my searching abilities but definitely not in Fox.

Pete


>>What does the ^ (circumflex) in you snippets do? I couldn't find anything in my refs except some math thing, and on our computers the code broke. Ran without it (the circumflex).
>
>I use it in VFP in two contexts.
>
>1) For powers: 2^5 means 2*2*2*2*2 (repeated five times). Fractional and negative exponents can be used, and have the same meaning as in standard algebra: 2^0.5 means square root of 2, and 2^-3 means 1/2^3.
>
>2) For date constants (VFP 6 or later): {^2001-01-30} (year-month-date, regardless of SET DATE).
>
>Hilmar.
Peter Adams
FoxPro Programmer
Compu-Mail

Heisenberg was probably right...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform