Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The mighty Calculate
Message
De
15/08/2019 16:49:38
 
 
À
15/08/2019 16:03:04
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670101
Message ID:
01670111
Vues:
56
>All,
>
>Current work creates opportunities for me to use antique FP features dating from days when memory was limited and processors slow, so efficiency mattered a lot. Often these old-timers perform better than more recognizable/mainstream ways of doing things. My earlier COPY TO ARRAY example is a good one.
>
>CALCULATE is another good example. CALCULATE AVG(field1),SUM(field2),MAX(field3) to myvar1,myvar2,myvar3 is quicker than SQL or other mainstream ways of performing the same calculations.
>
>For VFPA, Chen has done some work on Calculate that will be of interest if you're into AI or encryption with their need for bit manipulation in tight loops, where VFP's 4GL baggage can make things a bit slow. Stay tuned!

Yes, on the occasions I've used CALCULATE I've been impressed with its speed.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform