Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save on the typing
Message
From
12/12/1999 17:46:23
 
 
To
12/12/1999 16:50:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00302469
Message ID:
00302482
Views:
24
>When I worked with Clipper one thing that I liked about it was the possibility to add somethhing to a variable like this:
>
>nCounter += 1
>
>which means nCounter = nCounter + 1
>
>Is there something similar to this in VFP?

Nope = there's no autoincrementing/decrementing assignment operator. You can always write a little INC() function to increment and return the value, or pass by ref and increment the variable directly.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform