Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save on the typing
Message
De
12/12/1999 18:47:27
 
 
À
12/12/1999 17:46:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00302469
Message ID:
00302501
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.

Thanks Ed!
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform