Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving and Referencing SET PROC TO Setting
Message
De
23/02/2003 10:14:15
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00756634
Message ID:
00756736
Vues:
22
Hi Sergey

Using macro substitution will allow multiple procedures to be set at once. Named expressions will only work if there is just one.

>Mike,
>
>It'll only work in case where there's only one procedure file. For example,
* One procedure file
>SET PROCEDURE TO proc1
>lcProc = SET("PROCEDURE")   && proc1.prg
>SET PROCEDURE TO (lcProc) ADDITIVE
>* Two procedure files
>SET PROCEDURE TO proc1
>SET PROCEDURE TO proc2 ADDITIVE
>lcProc = SET("PROCEDURE")   && proc1.prg,proc2.prg
>SET PROCEDURE TO (lcProc) ADDITIVE   && generates an error
>
>>Hi Sergey
>>
>>Couldn't he do ...
>>lcProc = SET("PROCEDURE")
>>SET PROCEDURE TO &lcProc ADDITIVE
>>
>>?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform