Comparison of Pascal and Delphi: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
{{ProgLangCompare}}
This article is a '''comparison between Pascal and Delphi''' because Borland, the original manufacturer of [[CodeGear Delphi|Delphi]], once used ''Delphi'' for their version of the [[Pascal programming language|Pascal]]-based [[programming language]] used in the product, which is otherwise known as [[Object Pascal]]. Compatibles still maintain the Object Pascal designation because Delphi is a registered trademark.
 
[[Pascal (programming language)|Pascal]] is a [[programming language]], developed in 1970 by [[Niklaus Wirth]]. AnThe alternativeoriginal dialectPascal wasemployed created bya [[BorlandBootstrapping_(compilers)|bootstrapping]] Corporation.construct Theirwhere languageeach wentsuccessively throughmore severalcomplicated versionscompiler andcompiled names,the suchnext as [[Turbo Pascal]], Borland Pascal, and finally [[Borland Delphi|Delphi]] Pascaliteration. This page briefly goes overThus the differencescompiler betweenP2 thosewas dialectswritten ofin the language.dialect Itcompilable doesby '''not'''P1, goand intocould thein extensionsturn providedcompile by DelphiP3, thatand issuch theon subjectall ofthe away Delphitill page.P5 Ratherwhich itimplemented just"full" coversPascal theand differences that exist between thewas basemore implementationsoptimized.
 
[[Borland]] Corporation, like the wildly popular [[UCSD Pascal]] before them, took the P4 subset compiler as their basis for their Turbo Pascal range, probably because they considered it more efficient on the [[microcomputer|micros]] they were targeting. Over time their dialect implemented many UCSD extensions to the original Pascal like the "string" type. Their language went through several versions and names, such as [[Turbo Pascal]], Borland Pascal, and finally [[Borland Delphi|Delphi]] Pascal. This page briefly goes over the differences between those dialects of the language. It does '''not''' go into the extensions provided by Delphi, that is the subject of a Delphi page. Rather it just covers the differences that exist between the base implementations.
 
==Terminology==
Line 35 ⟶ 37:
</source>
 
is not valid in Borland Delphi (Delphi uses the scheme of allowing the different comment types to indicate nested comments). It is valid in Turbo Pascal though.
 
7. Does not replace eoln with space as the standard requires. When reading through the end of a line, the eoln character is supposed to be replaced with a space in ISO 7185. Instead, reading through eoln in Borland Delphi gives the character code for carriage return (13), followed by line feed (10).