Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alines()
Message
 
 
To
06/07/2006 08:48:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133139
Message ID:
01134189
Views:
20
Peter,

That'd give you an upper bound and a rough count. It's be thrown off by comment header blocks that ususally have something like * this procedure calculates the number of days between spottings of Elvis at the local 7-11 in them.

>How about something like this:
>
>x1=UPPER(filetostr("MyProg.prg"))
>?"Number of fuunctions ",OCCURS("FUNC",x1)
>?"Number of procedures ",OCCURS("PROC",x1)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform