Board index » delphi » difference between TURBO PASCAL & BORLAND PASCAL
Sandrine AVRI
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Sandrine AVRI
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
difference between TURBO PASCAL & BORLAND PASCAL
Hi ,
I just changed from Turbo Pascal to Borland Pascal and experienced some Thank you in advance for any help. Sandrine |
Jan Kohou
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteOn Wed, 24 Mar 1999, Sandrine AVRIL wrote: Quote> It also seems (it is actually the reason why I upgraded...) that the Quote> I discovered all that "by chance" and I'd like to know if anybody is available on the computer (EMS), not only 640 kB. In reality it means you can compile higher number of files. Also it uses DPMI, but I don't know what it is. I don't know if TP can compile into protected mode and Windows mode (and BP can do that). Quote> Thank you in advance for any help. Honza -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- |^^^| Jan Kohout (HoK) |
Stefan Goehle
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuote> I just changed from Turbo Pascal to Borland Pascal and experienced some libaries are built up from the same sources. TRUE and FALSE are definitely the same in BP and TP. Why should they be different? That you have a fixed crt library does simply say that you haven't bought this product, but downloaded it somewhere. Any comments? Bye, --- |
Pedt Scrag
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALSandrine AVRIL [mailto:avr...@soleil.biomerieux.fr] decided to regale us with Quote>Hi , initialises all variables to 0 (which means false for boolean values) TP6 and earlier do not do this initialisation so you get whatever was in Quote>It also seems (it is actually the reason why I upgraded...) that the there's a list at http://www.geocities.com/SiliconValley/2926/tp.html Quote>I discovered all that "by chance" and I'd like to know if anybody is concentrate on the How-To for coding and links to useful resources. -- |
Joe Fisch
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteSandrine AVRIL (avr...@soleil.biomerieux.fr) wrote: : problems with that (side effects ?), like differences in the default : initialization value for global variables (TRUE in TP vs FALSE in BP). It is a good practice to initialize all variables, Joe Fischer |
Frank Peel
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteSandrine AVRIL wrote in message Quote>Hi , I suppose you were going from a pre-TP7 version of Turbo Pascal? Quote>It also seems (it is actually the reason why I upgraded...) that the from an old TP, where the delay started getting small when the CPU got fast. But BP7 has its own problems, when you get up to 200 MHz or thereabouts, when programs using CRT bomb with run-time error 200; stick around in this group and you'll hear more of this bug! So - which version of TP were you upgrading from? And how did you FP |
Rich Pasc
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteJan Kohout wrote: Turbo or Borland Pascal. You get whatever value the previous program happened to leave in memory. - Rich |
Rich Pasc
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteJan Kohout wrote: Quote> Not so. Variables are not automatically initialized at all, in either variables to 0, I ask, how do you know that? I checked the Language Guide but it says (p.59) that the only way to pre-initialize a variable is to declare it as a "typed constant." The fact that an uninitialize variable seems to usually have value 0 - Rich |
Jochen Heylan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALHi Sandrine, the majort difference between TP7 and BP7 is that BP7 can can write protected mode programs and windows programs (though I don't recommed that latter). TP7 only allowed for a real mode target. As far as the delay problem is concerned - I;m pretty sure that BP7 programs die on a computer > 233 MHz but there are patches out there to fix the problem. Neither Tp7 not BP7 specifies initialization of global or local variables. In BP7, they actually get filled with #0 but since it's not documented I would recommend no counting on it either way. Hope this helps, Jochen QuoteSandrine AVRIL wrote: |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALIn article <36FB2246.2...@best.com>, Rich Pasco <pa...@best.com> wrote: Quote
Quote
InitTurbo: MOV DX,SEG DATA ;Initialize DS Osmo |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALIn article <36FB82CB.3031D...@bigfoot.com>, Jochen Heyland <jo...@bigfoot.com> wrote: Quote>Hi Sandrine, properly. Osmo |
Rich Pasc
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteOsmo Ronkanen wrote: Initialization / Run-Time-Error 200 problem? - Rich |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALIn article <36FC85B9.4...@best.com>, Rich Pasco <pa...@best.com> wrote: Quote>Osmo Ronkanen wrote: the fixed version as that would be a copyright violation. Osmo |
Rich Pasc
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALQuoteOsmo Ronkanen wrote: help-me-do-my-homework" type posts. Is the information on a web site or somewhere else it's easy to recover? Quote> I cannot post once it's been applied. - Rich |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:difference between TURBO PASCAL & BORLAND PASCALIn article <36FCEF99.4...@best.com>, Rich Pasco <pa...@best.com> wrote: Quote>Osmo Ronkanen wrote: DelayCnt DW ? Then add the following after it: DelayCntHi dw ? ; added for delay bug fix Then locate the actual division: MOV CX,55 Now add the following _between_ the lines: ; begin added code for delay bug fix push ax ; save ax for the second division ; end code for delay bug fix This will work up to some 200 GHz machines. After that the delays will And finally locate the part where the DelayCnt is used: @@1: MOV AX,DelayCnt Now simply comment the XOR line out and add: mov dx,DelayCntHi ; added for delay bug fix Quote>> I cannot post RTL directory. Then you need to copy the TPL files from the RTL\BIN to where you use them. Osmo |
1. I would like to know the difference between Borland Pascal 7.0 and Turbo Pascal 7.0
2. Linking C in Turbo Pascal or Borland Pascal?
3. Pascal genie/ Borland turbo pascal
4. WTB: Turbo Pascal (or Borland Pascal) v7 DOS
5. turbo pascal/borland pascal
6. Borland Turbo Pascal vs Pascal with Objects
7. WTB: Turbo Pascal (or Borland Pascal) v7 DOS
8. Turbo Pascal 7.0 vs Borland Pascal 7.0
9. WTD - Borland/Turbo Pascal Manuals/SW Especially Turbo Vision