>VFP traverses each file it stores individually when searching for the function. It searches by name, then by the procedures within. It would not surprise me to learn that VFP actually compiles .PRG files written like this:
>
>
>
>
>As though they were written like this:
>
>
>FUNCTION myprog
>
>
That would surprise me greatly. For many versions, having the first line in a PRG be PROC or FUNC produced a significant speed penalty. They fixed that in VFP6 SP3, but that certainly suggests the header wasn't added in compilation.
Tamar