Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
>>Dear all,
>>
>>Wondering if there is a way to find out if a function is defined in a PRG without actually running the function?
>>
>>Thanks!
>
>Don't waste your time. Break the function out of the .prg to it's own separate prg. If it supposed to be called at all include it in the exe. No need to check anything.
Oh in some of the PRG there is a UnitTest() defined for testing that module. I am writing a test driver which loops through all PRG in a project and calls UnitTest() if it exists in them. I could have separated the function out but putting related things together in one file is easier for me.
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