Modern Pascal's display routines are 100% backward compatible to Turbo Pascal 3.0 through 7.0.
Many Environment Routines Simplified
Modern Pascal also cleans up the mess other languages have introduced by standardizing methods.
Extremeley Robust Environment RTL
To make Modern Pascal a success we have focused 15 years on cross-platform simplicity.
Writeln('Number of variables = ',Envcount);
For Loop:=1 to Envcount do
Writeln(' Environment Variable #',Loop,' is "',EnvStr(Loop),'"');