General information
Category:
Coding, syntax & commands
>>>>Hi All:
>>>>
>>>>Where can I find documented the order that VFP uses to execute modules of the same name. e.g. If I have a program called FOOPROC.PRG which contains a procedure called FOO and I also have a program called FOO.PRG, If there I SET PROCEDURE TO fooproc I issue a DO FOO, which one does VFP execute?
>>>>
>>>>Thanks,
>>>>
>>>>Yossi
>>>
>>>I don't know where it is documented, but the order is
>>>
>>>1) Procedure defined in the currently running prg
>>>2) Procedure in a SET PROCEDURE TO file
>>>3) PRG file contained in the running App or Exe
>>>4) Independant PRG on disk
>>>
>>>Craig gave sound advice.
>>
>>To those who wondered why I wrote it that way - I didn't; I inherited an old SBT system that has the same procedures in a big procedure file (SBTPROC.PRG) and also as standalone files. Thanks for the help.
>
>SBT! You have my sympathy. What a misbegotten pile of dung that was.
>
>Many moons ago I did some work for Karen Higgins, who some will remember from the Compuserve FoxForum. She started a company that offered an accounting add-on for SBT, and did very well with it. Karen was great to work with but I couldn't stay with SBT software long. She said she had another guy, a former Microsoftie, who told her, "I'll do anything for you, Karen, just not SBT." ;-)
I'm with you, Mike. Thanks for the support!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only