[comp.sys.ibm.pc] Turbo Pascal vs. Turbo C

hollombe@ttidca.TTI.COM (The Polymath) (11/02/88)

In light of the recent discussion of Turbo C vs. Microsoft C I'd like to
ask a related question.

I want to do some software development on an IBM PS/2-50 running DOS 4.0.
Ideally, I'd like to be able to support windowing, pull-down menus and the
like.

I've been looking at Turbo C 2.0 and Pascal 5.0.  I notice Borland has a
lot of auxiliary libraries available for TP but nothing similar for TC.

Does Turbo C include support for the things I want to do?  Can I call
Turbo Pascal functions from Turbo C?  For that matter, does Turbo Pascal
support what I want to do?  (I'm talking about library functions, etc.).

I understand that neither interfaces well with MS Windows, but consider
that a minor nuisance, especially if I can do my own windowing
environment.

It's been a long time since I did any serious Pascal work.  I've worked
with C almost exclusively for the past few years.  I'd just as soon stay
with it for familiarity's sake, but I'll switch if I have to.

-- 
The Polymath (aka: Jerry Hollombe, hollombe@ttidca.tti.com)  Illegitimati Nil
Citicorp(+)TTI                                                 Carborundum
3100 Ocean Park Blvd.   (213) 452-9191, x2483
Santa Monica, CA  90405 {csun|philabs|psivax}!ttidca!hollombe

psrc@poseidon.ATT.COM (Paul S. R. Chisholm) (11/21/88)

<"He seemed like such a nice man . . . and then he turned out to be a writer!">

In article <3357@ttidca.TTI.COM>, hollombe@ttidca.TTI.COM (The Polymath) writes:
> I want to do some software development on an IBM PS/2-50 running DOS 4.0.

(I'm sorry to hear that.-)

> Ideally, I'd like to be able to support windowing, pull-down menus and the
> like.
>...
> I've been looking at Turbo C 2.0 and Pascal 5.0.  I notice Borland has a
> lot of auxiliary libraries available for TP but nothing similar for TC.

Do you mean the Toolkits?  Be advised that Borland has said they may
sell these products off to someone else, to concentrate on their "core
busineses" (compilers, utilities, and application software).  Also,
note that Borland toolkits provide *source* (except for some parts,
like the Binary Editor in the Editor Toolkit).  I don't know if they
provide .LIB files, though I think .COM's are included.

> Does Turbo C include support for the things I want to do?  Can I call
> Turbo Pascal functions from Turbo C?  For that matter, does Turbo Pascal
> support what I want to do?  (I'm talking about library functions, etc.).

Right out of the box, TC 2.0 and TP 5.0 don't do any of the things you
mentioned above.  But there are third party packages for each that do
all these and more.  For starters, call Programmer's Connection (I've
posted their numbers often enough, and they're in a lot of the
magazines) for their catalog.  There are lots mail order places that
sell this stuff, but I've had good luck with this one (no relation to
the excellent PC Connection).

Yes, you can call TP 4.0 and 5.0 functions from TC, or so I've been
told.  Don't forget to use the pascal keyword.

>hollombe@ttidca.tti.com, {csun|philabs|psivax}!ttidca!hollombe

Paul S. R. Chisholm, psrc@poseidon.att.com (formerly psc@lznv.att.com)
AT&T Bell Laboratories, att!poseidon!psrc, AT&T Mail !psrchisholm
I'm not speaking for the company, I'm just speaking my mind.