Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AScan on a specific column?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00005501
Message ID:
00006036
Vues:
81
> *-S-* Skip irrelevant columns on subsequent ASCANs
> lnElem = ASCAN(tcAName, tuSeekStr, lnElem + nCols - lnElemCol + >
>P.S. Comments welcome.

Yeh, I have a comment!


Your idea is a good one though I don't think you took
it far enough.

This should eliminate the need for a DO WHILE.

I have not done any testing on this but it sounds good
to me.

lnStartElement = AELEMENT(ArrayName,1 ,nDesiredColumn)
lnStopElement =( AELEMENT(ArrayName,1 ,nDesiredColumn+1) -1)
?ASCAN(Array, "FindMe",lnStart, lnStopElement)

Of course a little validation for lnStopElement
will be necessary.

Chris
Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform