>What do you mean "call this function from SP" - do you want to call one stored procedure from another stored procedure?
No, I just want to run the function from the database and make sure that VFP set path or set('procedure') is not searched to find this function.
If it's not broken, fix it until it is.
My Blog