Comparison of Pascal and Delphi: Difference between revisions

Content deleted Content added
Removed PROD: Delphi and Pascal are strongly related languages, so it is no WP:INDISCRIMINATE comparison. As for WP:OR issues: WP:TNT is not policy, while WP:ATD is.
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Short description|Programming language}}
 
{{ProgLangCompare}}
{{use mdy dates|date=April 2023}}
Line 13 ⟶ 14:
 
=== Modulo with negative dividend ===
Standard Pascal has ana Euclidean-like definition of the [[Modulo#In programming languages|<syntaxhighlight lang="pascal" inline>mod</syntaxhighlight> operator]] whereas Delphi uses a truncated definition.
 
=== Nested comments ===
Line 141 ⟶ 142:
=== Temporary files ===
In Delphi any file must be backed by a file in the file system.
That means any <syntaxhighlight lang="delphi" inline>file</syntaxhighlight> needs to be associated with a file name with Delphi’sDelphi's <syntaxhighlight lang="delphi" inline>assign</syntaxhighlight> procedure.
In contrast, Standard Pascal is usable without file names.
The following will produce a run-time error with Delphi.<ref name="moore"/>
Line 252 ⟶ 253:
== Further reading ==
* Kathleen Jansen and [[Niklaus Wirth]]: ''PASCAL - User Manual and Report.'' Springer-Verlag, 1974, 1985, 1991, {{ISBN|0-387-97649-3}}, {{ISBN|0-387-90144-2}}, and {{ISBN|3-540-90144-2}} [https://web.archive.org/web/20050314152247/http://www.cs.inf.ethz.ch/~wirth/books/Pascal/]
* Niklaus Wirth: ''The Programming Language Pascal.'' Acta Informatica, 1, (Jun 1971) 35-6335–63
* ISO/IEC 7185: ''Programming Languages - PASCAL.'' [http://www.moorecad.com/standardpascal/]
* Doug Cooper: ''Standard Pascal: User Reference Manual.'' W. W. Norton & Company, 1983, {{ISBN|0-393-30121-4}}, {{ISBN|978-0-393-30121-2}}
Line 261 ⟶ 262:
 
{{Pascal programming language family}}
 
{{DEFAULTSORT:Pascal and Delphi comparison}}
[[Category:Pascal programming language family]]