Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding a run-time error

Status
Not open for further replies.

Actor

Programmer
Nov 19, 2003
20
US
I'm using the command line compiler of Turbo Pascal 7. I do not have the IDE.

I recall there is a method of running the compiler and having it tell you which line of code has a run-tme error. It is some kind of switch that tells the compiler the address of the error. It's something like:
Code:
tpc source /H0000:0150
but of course that's not it.

I've been searching the documentation for a couple of days now and have found nothing. This is something I used to use all the time so I'm certain it exists.
 
Try this :
tpc source /f0:150

'f' for find error
and you can leave out the leading zeroes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top