Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00441834
Message ID:
00442145
Views:
15
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform