[fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

Marco van de Voort fpc at pascalprogramming.org
Tue Mar 28 12:12:16 CEST 2023


On 28-3-2023 11:33, Karoly Balogh via fpc-pascal wrote:
>
> Probably yes, but there might be an alternative, see below. But as far as
> I understand, Unit is a Turbo Pascal concept, so any Pascal programming
> dialect that predates it, probably don't understand it.

True, and before units in Turbo Pascal(*) and Modules in Extended 
Pascal, nothing was standardized about breaking up the source into 
multiple parts.

Most dialects either adopted some form of C "extern" like handling, and 
the more advanced ones some form of Modula2 derived modules, either 
directly, or via the lengthy Extended Pascal standardization process.

(*) Turbo Pascal was strictly not a standard, but influential enough to 
set one.



More information about the fpc-pascal mailing list