Arithmetic evaluation: Difference between revisions

m
(→‎{{header|Prolog}}: works with swipl + lang tag)
Line 820:
 
=={{header|Pascal}}==
 
{{works with|GNU Pascal|20060325, based on gcc-3.4.4}}
 
Note: This code is completely standard pascal, checked with <tt>gpc --classic-pascal</tt>. It uses certain features of standard Pascal which are not implemented in all Pascal compilers (e.g. the code will not compile with Turbo/Borland Pascal or Free Pascal).
 
<lang pascal> program calculator(input, output);
type
Line 1,056 ⟶ 1,055:
begin
ReadEvalPrintLoop
end.</lang>
 
=={{header|Perl}}==