Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching array for exact
Message
De
09/07/2002 15:30:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Searching array for exact
Divers
Thread ID:
00676791
Message ID:
00676791
Vues:
46
VFP 7 introduces a new parameter to search an array for exact match. This parameter is the 4th optional one. When I first tried that, I used:
? ASCAN(laField,'REVWORD',,,,6)
But, if we use the 4th optional parameter, we have to pass a value to the first 3. Otherwise, an error is returned. So, the following is needed:
? ASCAN(laField,'REVWORD',1,1,1,6)
I was just wondering if I did it right or if there is a way to do it based on my first example.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform