Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching array for exact
Message
From
09/07/2002 15:30:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Searching array for exact
Miscellaneous
Thread ID:
00676791
Message ID:
00676791
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform