cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/14/11:30:25

From: cbfalconer AT my-dejanews DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: RE: pascal
Date: Sat, 14 Nov 1998 15:55:34 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 56
Message-ID: <72k95m$egj$1@nnrp1.dejanews.com>
References: <364CE2D5 DOT E617342E AT cartsys DOT com> <199811141214 DOT MAA03001 AT remus DOT clara DOT net>
NNTP-Posting-Host: 208.31.20.66
X-Article-Creation-Date: Sat Nov 14 15:55:34 1998 GMT
X-Http-User-Agent: Mozilla/3.0Gold (Win95; I)
X-Http-Proxy: 1.0 x11.dejanews.com:80 (Squid/1.1.22) for client 208.31.20.66
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <199811141214 DOT MAA03001 AT remus DOT clara DOT net>,
  djgpp AT delorie DOT com wrote:
> > > >    When i try to compile pascal it gives the error message:
> > > >
> > > >    pascal compiler not installed on this system
> > > >
> > > >    is there a zip file that i forgot to download or did i do
> > > > something wrong??
> > >
> > > You've probably only got the C/C++ distribution. I'm not sure
> > where you can
> > > get the Pascal files from. Try the zip picker on
> > www.delorie.com/djgpp. BTW,
> > > you do know that DJGPP is a C/C++ compiler - so unless you are
> > going to try
> > > and link pascal files with C files, you are a little offtopic.
> >
> > Why?  DJGPP's Pascal compiler is a perfectly reasonable tool for someone
> > to use and discuss on this forum, IMHO.
>
> Fair enough. I just thought that DJGPP was the C/C++ port of the GNU
> package, and that GNU Pascal wasn't part of DJGPP. I'm obviously wrong. How
> many people here use GNU Pascal though?
>
> James Arthur
> jaa AT arfa DOT clara DOT net
> ICQ#15054819

Not to start a language war - I am perfectly happy using both C and Pascal. 
But whenever I want a fairly complex program to develop smoothly, with a
minimum of obscure errors, I use Pascal.  This eliminates thinking about what
is or isn't a pointer, makes struct/record field use obvious, and (totally
unavailable in C) allows me to use subranges and nested procedures/functions.

I really can't speak about GNU Pascal yet, because I am waiting for a new
machine and until I get that I am not going to start a DJGPP installation. 
Then I expect to have enough disk space, and intend to also install Linux. 
So I use an ancient TP5 together with my own units that bring it much closer
to ISO standard, and at least lets me use real Pascal i/o semantics.  These
are, IMHO, much cleaner than C's standard libraries, although I have written
a few routines that implement Pascal like semantics (or C++ streams semantics
if you like) for C.  These handle writing integer/longs/reals/strings in
fields with right/left justification (altho Std Pascal only provides right
justification).

At least for me, this sort of thing resolves a lot of thinking up front.  I
don't want to create any interchange of criticisms, let alone flames, so if
you violently disagree so be it.  If you want to see my baby C library,
e-mail me at the address BELOW with NOSPAM removed.


--
    Chuck Falconer (Charles_Falconer AT NOSPAMapsnet DOT com)

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019