Board index » delphi » Pascal compiler to learn Delphi pascal

Pascal compiler to learn Delphi pascal

I'm looking for a pascal compiler to use to learn pascal coding for
Delphi.  That is, I would like to write some simple pascal programs to
run on DOS (e.g., Hello, world etc.) just to learn the general syntax
and structure of pascal programs.

Question 1:  Is it possible to use Delphi's onboard pascal compiler to
write programs that will run on DOS?  (I'm using v.2 but should have v.3
as soon as Borland can ship it.)

Question 2:  If #1 is No, what other pascal compiler is closest in terms
of syntax, error msgs, etc. to Delphi's onboard pascal compiler?

Much thanks,
Ken

--
================================================================
Please use fisl...@cesmtp.ccf.org for any replies.
================================================================

 

Re:Pascal compiler to learn Delphi pascal


Quote
Ken Fisler wrote:
> I'm looking for a pascal compiler to use to learn pascal coding for
> Delphi.  That is, I would like to write some simple pascal programs to

> run on DOS (e.g., Hello, world etc.) just to learn the general syntax
> and structure of pascal programs.

> Question 1:  Is it possible to use Delphi's onboard pascal compiler to

> write programs that will run on DOS?  (I'm using v.2 but should have
> v.3
> as soon as Borland can ship it.)

> Question 2:  If #1 is No, what other pascal compiler is closest in
> terms
> of syntax, error msgs, etc. to Delphi's onboard pascal compiler?

> Much thanks,
> Ken

> --
> ================================================================
> Please use fisl...@cesmtp.ccf.org for any replies.
> ================================================================

#1:
Yes you can use Delphi to create Win32 console applications (DOS, but
won't run in Win16)

#2:
As far as I can tell, the *basic* coding you do in Delphi is identical
to most every flavor of Pascal.
You won't find too many big differences until you start using objects.
After all, the language behind
Delphi isn't pascal, it's Object Pascal.  If you would like a good
Pascal compler, however, I've
always liked Turbo Pascal.

-Mike
micha...@pantheoninc.com

Other Threads