Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Side by side comparison (strings & local data)
Message
De
11/01/2004 09:24:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00861648
Message ID:
00865819
Vues:
42
>Cetin,
>
>I was just wondering if you would get any improvement if you assigned the value of fcount() to a var before processing in VFP in the for loop
>
>lncount=fcount()
>For ix=1 To lncount
>
>instead of
>For ix=1 To Fcount()
>
>Wouldn't Fox try to evaluate fcount() in every iteration?
>
>John

No, foxpro evaluates the Fcount() once at the start of loop.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform