Comparison of Pascal and Delphi: Difference between revisions

Content deleted Content added
m Procedural data types: style="font-size:90%"
Line 29:
! Standard Pascal !! Delphi
|- style="vertical-align:bottom"
| <syntaxhighlight lang="pascal" highlight="3,4" style="font-size:9085%">
program proceduralDataType(output);
 
Line 45:
begin
printYIntersect(f);
end.
</syntaxhighlight>
| <syntaxhighlight lang="delphi" highlight="1-4" style="font-size:9085%">
type
TFunc = function(x: real): real;
 
Line 61 ⟶ 63:
begin
printYIntersect(@f);
end.
</syntaxhighlight>
|}