>The case is this: given the following piece of code...
>
>SET PROCEDURE TO LIB1, LIB2, LIB3
>
>Both files LIB1 and LIB2 have a function called X(). In normal conditions if I call the X() function the one that resides in LIB1 will be executed because was loaded first. What if I want to invoke the X() function that resides inside LIB3 given the constraint that I cannot modify the SET PROCEDURE statement to change the order of the files?
>
>Is there a way in VFP to call a function that resides inside a specific PRG program file to break the search sequence of VFP?
>
>TIA
If you need to execute it as a function (return a value),
SET PROCEDURE TO
SET PROCEDURE TO lib3, lib1, lib2
otherwise you can use Harold's method if you use it as a procedure (no return value).