Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

is pascal subset of delphi

omair19omair19 Posts: 39Member
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?

Comments

  • zibadianzibadian Posts: 6,349Member
    : 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.
  • MarcLimMarcLim Posts: 2Member
    : : 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...
  • omair19omair19 Posts: 39Member
    [b][red]This message was edited by omair19 at 2005-7-24 16:31:3[/red][/b][hr]
    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 :)







  • zibadianzibadian Posts: 6,349Member
    : [b][red]This message was edited by omair19 at 2005-7-24 16:31:3[/red][/b][hr]
    : 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.
Sign In or Register to comment.