Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does GETWORDCOUNT/NUM work correctly?
Message
De
01/11/2007 16:33:19
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01265866
Message ID:
01265887
Vues:
13
>>If I try the following expression in the debugger, I get a count of 2.
>>
>>GETWORDCOUNT(";wordone;wordtwo;", ";")
>>
>>I was hoping to get a count of 4 where the first and last words are empty strings.
>>
>>GETWORDNUM(";wordone;wordtwo;",1, ";") returns "wordone" and not "".
>>
>>Was I expecting too much from these functions?
>>
>>Mike
>
>
>?ALINES(aa,";wordone;wordtwo;", 2,";")

Thanks for that Yuri. I'd give you three stars if you could tell me how to make GETWORDCOUNT/NUM to do the same (i.e. return the results I need) <g>

Would you consider this a "bug"? Did it ever work like I expected?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform