Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple String Collection
Message
 
À
14/12/2007 17:42:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01276037
Message ID:
01276054
Vues:
25
Not sure, but maybe this?
loStringCollection = CreateObject('Collection')
with loStringCollection as Collection
   .Add('String1')
   .Add('String2')
*  ...
   .Add('StringN')
endwith

for each lcString in loStringCollection
   * Do something with the string
endfor
>I have had my head out of VFP for a while, so I am sorry for the simple question.
>
>What is the easiest and quickest way to make a simple collection of strings? Something similar to a .NET StringCollection is what I am looking for. It must be variable length also.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform