Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save on the typing
Message
De
12/12/1999 17:46:23
 
 
À
12/12/1999 16:50:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00302469
Message ID:
00302482
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform