>For functions too? Am I right by SET FUNCTION to myprog?
There is nothing special for functions. Thread them same as procedures (really slight technical difference that you could think all of them as procedures or functions). So all procedures and functions are in myprog.prg and you add "set procedure to myprog" in startup.
Cetin