"Jacky" <jl@[EMAIL PROTECTED]
> wrote in message news:47628631$1@[EMAIL PROTECTED]
> Hi folks,
> I want to find out where declarations of functions are located in
Borland
> Pascal 7. I could not find it, I could only find 2 files named *.INT
that
> describe a subset of BP7 available functions...
Are you asking about Borland pre-supplied functions in their standard
units,
or do you want to know where your own functions are declared?
I suspect the former, so here goes:
(1) Use your IDE help system to tell you which unit they are declared in.
For example, placing the text cursor over "FExpand" and pressing
[Ctrl]+[F1]
will bring up a help screen that tells you that function is declared in
the
DOS.PAS unit. If the help screen does not say which unit it is in, then it
will (nearly) always be part of the System unit. Some units, such as the
Turbo Vision and Windows ones have their own IDE help file that you must
add
to the IDE's list of help files: Help|Files... [New] and look in ..\BP\BIN
for *.TPH files.
(2) If you want exact locations within each unit then you will need to
recompile the provided units with debug infomation on, assuming you have
the
source code for them. There is a make file that comes with RTL source
package for making this task very easy.
You will also need to hide the supplied T.TPL (in your ...\BP\BIN
folder),
or remove the relevant units from them (see the do***entation for
TpuMover.exe).
After that you can use the IDE's symbol browser to take you straight to
where they are declared or implemented.
ps.
comp.lang.pascal.borland would be a better place to ask this, since that
group is dedicated to Turbo/Borland Pascal.
pps.
Don't let anyone tell you (or me) that comp.lang.pascal.misc is
~innaprproriate~ for these posts because they would be wrong. It's just
not
the ~best~ group to ask in.
--
Jay
Jason Burgon - author of Graphic Vision
http://homepage.ntlworld.com/gvision


|