Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
is pascal subset of delphi Posted by omair19 on 22 Jul 2005 at 12:31 AM
is pascal subset of of delphi ,how many differences are there (in percentage) when it comes to procedural programming?and is it a good idea to learn delphi and skip pascal if you are bigginer in pascal or one should i master pascal first competely?
Report
Re: is pascal subset of delphi Posted by zibadian on 22 Jul 2005 at 4:55 AM
: is pascal subset of of delphi ,how many differences are there (in percentage) when it comes to procedural programming?and is it a good idea to learn delphi and skip pascal if you are bigginer in pascal or one should i master pascal first competely?
:
Delphi is an extension of TP. In fact Borland refers to the Delphi 1 compiler as the Borland Pascal Compiler 8.
There are many subtle differences between Delphi and Pascal. The biggest difference is that TP is a traditional programming language, while Delphi is event-driven. I found this to be the largest obstacle when changing from TP to Delphi. It might be easier to learn Delphi right away instead of first starting with Pascal and then changing to Delphi, although a beginning programmer will be overwhelmed by the amount of the procedures, objects and other options.
Report
Re: is pascal subset of delphi Posted by MarcLim on 23 Jul 2005 at 8:01 PM
: : is pascal subset of of delphi ,how many differences are there (in percentage) when it comes to procedural programming?and is it a good idea to learn delphi and skip pascal if you are bigginer in pascal or one should i master pascal first competely?
: :
In my experience, I started out with Pascal and then moved to Delphi.

Programming for DOS is quite simple, I have to say you first learn Pascal, then you can go into Delphi. You'll be glad to know about procedures, functions, variables, units and everything... Anyway, it's just a matter of opinions.

...Sorry for my bad english...
Report
compiling pascal programs on delphi Posted by omair19 on 24 Jul 2005 at 4:19 PM
This message was edited by omair19 at 2005-7-24 16:31:3

thanx for your answers(both of you),can u tell me wheather i can compile pascal programs on delphi?
well dont consider event driven mythodology and then tell me how much syntaxt is different (when it comes to procedural programming style)??
and Marklim your english is not bad,infact it's better than mine :)







Report
Re: compiling pascal programs on delphi Posted by zibadian on 24 Jul 2005 at 4:34 PM
: This message was edited by omair19 at 2005-7-24 16:31:3

: thanx for your answers(both of you),can u tell me wheather i can compile pascal programs on delphi?
: well dont consider event driven mythodology and then tell me how much syntaxt is different (when it comes to procedural programming style)??
: and Marklim your english is not bad,infact it's better than mine :)
:
:
:
You probably need only 1 alteration: You need to add {$APPTYPE CONSOLE} just after the program declaration. This will ensure that Delphi compiles it like a Pascal program.
Certain parts of Pascal (such as the graphics mode) require more rewriting.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.