Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: How does a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 9 Topic 772 of 811
Post > Topic >>

Re: How does a programmer know the arguments of a function?

by "Jason Burgon" <jaynews@[EMAIL PROTECTED] > Dec 14, 2007 at 02:25 PM

"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
 




 9 Posts in Topic:
How does a programmer know the arguments of a function?
"Jacky" <jl@  2007-12-14 21:33:40 
Re: How does a programmer know the arguments of a function?
Marco van de Voort <ma  2007-12-14 14:06:45 
Re: How does a programmer know the arguments of a function?
"Jason Burgon"   2007-12-14 14:25:52 
Re: How does a programmer know the arguments of a function?
"Jason Burgon"   2007-12-14 22:19:39 
Re: How does a programmer know the arguments of a function?
"Jacky" <jl@  2007-12-17 14:31:01 
Re: How does a programmer know the arguments of a function?
"Jacky" <jl@  2007-12-17 14:46:45 
Re: How does a programmer know the arguments of a function?
"Jacky" <jl@  2007-12-17 14:58:47 
Re: How does a programmer know the arguments of a function?
"Jason Burgon"   2007-12-17 07:59:27 
Re: How does a programmer know the arguments of a function?
Marco van de Voort <ma  2007-12-17 08:51:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:50:24 CDT 2008.