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...