Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I'm loosing a VFP - VB battle
Message
De
28/04/2000 16:19:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00342582
Message ID:
00364668
Vues:
29
I don't remember the URL, but do a search on "War and Peace" and you'll find it. It actually comes on several different web pages, but you can save them to disk.


>So Craig, where can I get my hands on that text? I need to show some real-world examples over here. Thanks.
>
>>
>>Have them conduct a test. Take any large text file. For example, you can download the text of "War and Peace", which is roughly 3.5 Meg. Do the following in both VB and VFP:
>>
>>- Read the entire file into a variable. In VFP you would use FileToStr()
>>- Count the number of times the word "Anna" is in the text. In VFP use OCCURS()
>>- Replace "Anna" with another word. In VFP use STRTRAN().
>>
>>VFP will run rings around VB here. This shows that VFP is far superior to VB when it comes to text manipulation, which is all HTML is.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform