Board index » delphi » Differences Between TP 5.0 & TP 7.0

Differences Between TP 5.0 & TP 7.0

Quote
Jim Tannenbaum wrote:
> Hi,

>         I am trying to compile a program that was written under Turbo Pascal
> 5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
> TPString, etc.  Did Borland migrate all the names from TP... to T...?
> Is there a compier switch so I don't have to hack apart the program?

It may be possible those are third-party units.  I think the names have
remained fairly standard, even since earlier versions.

Quote
>         Thanks,

>         Jet

--
Scott Earnest        | We now return you to our regularly |
set...@ix.netcom.com | scheduled chaos and mayhem. . . .  |
 

Re:Differences Between TP 5.0 & TP 7.0


Hi,

        I am trying to compile a program that was written under Turbo Pascal
5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
TPString, etc.  Did Borland migrate all the names from TP... to T...?
Is there a compier switch so I don't have to hack apart the program?

        Thanks,

        Jet

Re:Differences Between TP 5.0 & TP 7.0


Quote
ji...@voicenet.com (Jim Tannenbaum) wrote:
>Hi,

>    I am trying to compile a program that was written under Turbo Pascal
>5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
>TPString, etc.  Did Borland migrate all the names from TP... to T...?
>Is there a compier switch so I don't have to hack apart the program?

TpCrt, TpString ....   are third-party units (always with full source)
from the library Turbo-Pascal-Professional from Turbo Power, look at

http://www.tpower.com/products/tpro/

I think for TP6/TP7 you'll need an upgrade, because since these
pascal-versions the heap-management changed.

(I use the product since 9 years and I am very happy with it)

--
R.Fischer

Re:Differences Between TP 5.0 & TP 7.0


Quote
Scott Earnest wrote:

> Jim Tannenbaum wrote:

> > Hi,

> >         I am trying to compile a program that was written under Turbo Pascal
> > 5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
> > TPString, etc.  Did Borland migrate all the names from TP... to T...?
> > Is there a compier switch so I don't have to hack apart the program?

> It may be possible those are third-party units.  I think the names have
> remained fairly standard, even since earlier versions.

> >         Thanks,

> >         Jet

> --
> Scott Earnest        | We now return you to our regularly |
> set...@ix.netcom.com | scheduled chaos and mayhem. . . .  |

Those TP..-Units are provided by Turbo Professional and need to be
recompiled. So, if there are no sources present, you're done.

CU,
Bernd

Re:Differences Between TP 5.0 & TP 7.0


--------------EA5BCF5C42450F842739D3FF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Quote
Jim Tannenbaum wrote:
> Hi,

>         I am trying to compile a program that was written under Turbo
> Pascal
> 5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
> TPString, etc.  Did Borland migrate all the names from TP... to T...?
> Is there a compier switch so I don't have to hack apart the program?

>         Thanks,

>         Jet

I know that in TP6 and 7, there is a unit called CRT, NOT TPCRT and a
type string called just STRING NOT TPString.  Just try to change the
names and see what happens.

--------------EA5BCF5C42450F842739D3FF
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>

Quote
Jim Tannenbaum wrote:

<BLOCKQUOTE TYPE=CITE>Hi,

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am trying to compile a
program that was written under Turbo Pascal
<BR>5.0 with Turbo Pascal 7.0.&nbsp; The compiler is getting hung up on
TPCrt,
<BR>TPString, etc.&nbsp; Did Borland migrate all the names from TP... to
T...?
<BR>Is there a compier switch so I don't have to hack apart the program?

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jet</BLOCKQUOTE>
&nbsp;&nbsp;
<BR>I know that in TP6 and 7, there is a unit called CRT, <U>NOT</U> TPCRT
and a type string called just STRING <U>NOT</U> TPString.&nbsp; Just try
to change the names and see what happens.</HTML>

--------------EA5BCF5C42450F842739D3FF--

Re:Differences Between TP 5.0 & TP 7.0


Quote
> >         I am trying to compile a program that was written under Turbo
> > Pascal
> > 5.0 with Turbo Pascal 7.0.  The compiler is getting hung up on TPCrt,
> > TPString, etc.  Did Borland migrate all the names from TP... to T...?
> > Is there a compier switch so I don't have to hack apart the program?
> I know that in TP6 and 7, there is a unit called CRT, NOT TPCRT and a
> type string called just STRING NOT TPString.  Just try to change the
> names and see what happens.

   That won't work.  The routines that are referencing the TPCRT, etc.
Units have different names than the CRT and Strings Units.  He'll get
numerous undefined symbols/references, and he probably won't be able to
figure out how to replace the routines with standard stuff.
   These references (Units) are from TurboPower's Turbo Professional
package, and the most reasonable solution is for him to acquire
(purchase) that package.  I've had a similar experience with a number of
programs I worked on, and I purchased the TurboPower package...

Other Threads