>AProcInfo() is a design time tool that you can use to gather all the information about a program. There was a thread, while back, on how to gather all the Procedures in a PRG. In VFP7, you can do:
>
>
AProcInfo(aProcs, 'mycommand.PRG')
The return value for the function is the number of rows in the resulting array, BTW.
Mike Stewart