>However, my question still remains - how can I bypass the extra search? I know that my function is in SP and I want to be able to explicitly tell VFP to look there and in no other places.
Sure. I am curious about that too, but I don't know a way to do it. - Of course, you could transfer critical functions to a separate PRG, and invoke them with
do ... in ..., but that would hardly be ideal.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)