Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00441834
Message ID:
00442145
Vues:
9
>>Sure, What if I have a procedure named PROC GETFUNCTIONNAME
>
>Ahhhh, good call, thanks.

When I needed to find out the Procedures/Funcions in a prg the FoxPert helped me write this:
CREATE CURSOR Prg (Line C(254))
APPEND FROM Mc_procs.Prg TYPE SDF ;
	FOR UPPER(LEFT(ALLTRIM(prg.line),4))=="PROC" ;
	OR UPPER(LEFT(ALLTRIM(prg.line),4))=="FUNC" ;
	OR UPPER(LEFT(ALLTRIM(prg.line),4))=="LPAR" ;
	OR UPPER(LEFT(ALLTRIM(prg.line),4))=="PARA"
browse
Bill Armbrecht
VFP MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform