Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
08/07/1998 14:15:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115389
Vues:
21
George ---

>
>Assume you wanted to write a binary search routine to search an ordered list, for the sake of readability alone, you'd want to use a DO WHILE...ENDDO.
>
>Or you wanted to break a delimited string down into the inidividual elements. Same thing.

So am I missing something::

cString="Hello"
nLenString=LEN(cString)
DIM cChars(nLenString)
FOR i = 1 TO nLenString
cChars(i)=SUBSTR(cString,i,1)
ENDFOR
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform