Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FUNCTION...ENDFUNC in a class.
Message
De
14/04/1998 11:25:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00090807
Message ID:
00091785
Vues:
34
Where do you put your function files? I've been keeping my proclibs in the PROGS subdirectory that you see in codebook-style systems. Seems like I have to include the procedure library file explicitly in the project. Would I have to include each function file in the project seperately?

I heard something about the FUNCTION/PROCEDURE line costing execution time. Odd. Somebody should fix that one!

Peter


>
>Once the function is loaded into memory, I don't think there's significant delays. Also once you build the APP/EXE it's all in one file anyway.
>
>The one thing you DO NOT want to do is put a FUNCTION/PROCEDURE statement in the file if the function is called a lot. For some rather bizarre reason Fox has always had a terrible performance hit because of it, we are talking order of magnitude kind of slowdowns. If the function name is the same as the filename you don't need the proc/func declaration, though it grates on my nerves to not have a "proper" block of code in the file.
>
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform