>>Hi.
>>I know that vFoxPro has another way
>>to increment a variable than the
>>traditional
>>
>>vMyVar = vMyVar +1
>>
>>but I can't remember it.
>>Thanks in advance.
>
>C-style languages have
>
>
>vMyVar++
>* or
>vMyVar += 1
>
>
>But in Visual FoxPro, this is about as short as it gets.
>
>STORE has the advantage that you can quickly save the same value to several variables.
But as Dragan pointed out - VFP's Intellisense will expand myvariable++ to myvariable = myvariable + 1 automatically as soon as you key in a space after the ++.
Not the same as native language support, but a handy approximation.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________