Board index » delphi » Differences between BP and TP (was: comp.lang.pascal.borland

Differences between BP and TP (was: comp.lang.pascal.borland

In article <3rl945$...@ralph.vnet.net>, rgod...@vnet.net (Richard Godbee) writes
:

Quote
>On 13 Jun 1995 07:17:54 GMT, s...@ccnet.com (Scott A. Moore) wrote:

>Well, I hope I can clear up some of that confusion... :-)

>Turbo Pascal:             Can compile only DOS real-mode programs.
>Turbo Pascal for Windows: Can compile only Windows (3.x) programs.
>Borland Pascal:           Can compile DOS real-mode, DOS
>                          protected-mode, and Windows applications.

>There are more differences in utilities included, etc., but those are
>the very basic differences.  Also, I'm not sure whether TPW only
>compiles Windows 3.1 programs or if it can also handle 3.0 programs.

    There are some further differences that I have learned form taking my
    computer science class.
    Borland Pascal can not deal with an input into a case statement that is
    not covered.  With Turbo it just flows right through or is handled by a
    else statement if included.
    Turbo Pascal has short circuit Boolean evaluation, and Borland Pascal dose
    not.

                            That all that I know
                            Oliver Giller

                                   \|/
                                  (o o)
                        +======oOO=(_)=OOo========+
                        |        Regards,         |
                        |      Oliver Giller      |

 

Re:Differences between BP and TP (was: comp.lang.pascal.borland


Quote
o...@Lehigh.EDU wrote:

> In article <3rl945$...@ralph.vnet.net>, rgod...@vnet.net (Richard Godbee) writes
> :
> >On 13 Jun 1995 07:17:54 GMT, s...@ccnet.com (Scott A. Moore) wrote:

> >Well, I hope I can clear up some of that confusion... :-)

> >Turbo Pascal:             Can compile only DOS real-mode programs.
> >Turbo Pascal for Windows: Can compile only Windows (3.x) programs.
> >Borland Pascal:           Can compile DOS real-mode, DOS
> >                          protected-mode, and Windows applications.

> >There are more differences in utilities included, etc., but those are
> >the very basic differences.  Also, I'm not sure whether TPW only
> >compiles Windows 3.1 programs or if it can also handle 3.0 programs.

>     There are some further differences that I have learned form taking my
>     computer science class.
>     Borland Pascal can not deal with an input into a case statement that is
>     not covered.  With Turbo it just flows right through or is handled by a
>     else statement if included.

I don't know about this but...

Quote
>     Turbo Pascal has short circuit Boolean evaluation, and Borland Pascal dose
>     not.

Yes it does!! Look in the menu Options/Compiler/Boolean evaluation!!

s795...@dutiws.twi.tudelft.nl

Re:Differences between BP and TP (was: comp.lang.pascal.borland


Quote
o...@Lehigh.EDU wrote:

:     There are some further differences that I have learned form taking my
:     computer science class.
:     Borland Pascal can not deal with an input into a case statement that is
:     not covered.  With Turbo it just flows right through or is handled by a
:     else statement if included.
:     Turbo Pascal has short circuit Boolean evaluation, and Borland Pascal dose
:     not.

:                             That all that I know
:                             Oliver Giller

    Both point are definitely wrong.
    (1) The language itself has no difference at all, including the
        case statement in any aspect.
    (2) short circuit boolean evaluation is a 'standard' feature in
        borland's pascal language.  So is available in all package.

    In fact, with Borland pascal package, you get everything that
    Turbo Pascal has.

Regards

Other Threads