> I'm using P9 and I am trying to make my way through the following code:
> if WorkLib5.CreateReportResults() < 0 then
> msgStop("Error creating Results","Unable to get test results for "+
> "reportable results")
> I need to look at the method WorkLib5.CreateReportResults. I can't seem
> find any way to figure out where this exists in the app I've inherited.
> No, there is no file named "worklib5" anywhere in the directory structure,
> as far as I can see.
> How do I view code called from a method?
You should find a global variablenamed "WorkLib5," probably in the "var"
section of the form (root) object. You should find code, probably in the
form's "init" or "open" method, that "opens" a certain library (.LSL) file.
The method being called will be found in that library.
Paradox for Windows applications use this technique a lot because a library
(which is basically a Windows DLL) is a place to put code that everyone can
easily share. Because Windows is very well used to handling DLL-files
efficiently, Paradox for Windows in-effect "piggybacks" off of Windows' own
memory-management to provide this very useful feature.
Fast automatic table repair at a click of a mouse!