Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do FunctionName.prg
Message
De
13/05/2021 02:29:46
Walter Meester
HoogkarspelPays-Bas
 
 
À
12/05/2021 17:23:20
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01680170
Message ID:
01680351
Vues:
44
>>Hi,
>>
>>Is there a way to make sure that when you have code:
>>
>>do ProcedureName.prg
>>
>>Fires from a program? For example, say the ProcedureName() is in MyPrograms.prg. Just like when you use NEWOBJECT() you specify the library name (VCX) and the class name.
>>Is
>>
>>SET PROCEDURE TO MyPrograms additive
>>
>>is the only way?
>>
>>TIA
>
>Why are you arbitrarily storing multiple procedures/functions in a single .prg? This does not help the compiler. If you build separate .prgs per function the exe will run them faster, than if it has to dig into other files first.

Here we go again with the Mike Yearwood show (Actually not a term I invented, but one you earned about 20 years ago).

>If you build separate .prgs per function the exe will run them faster
Where is the evidence? You're making a claim for something that either you cannot prove or has so little effect we can consider irrelevant.

Stop clowning.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform