Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple String Collection
Message
De
14/12/2007 18:49:02
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:
01276058
Vues:
21
Error: Class definition COLLECTION is not found.

>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.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform