Edited on wiki.freepascal.org by 7 people, 2009–2020
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
In FPC > 2.6.0, Declarations are TFPList, not TList. Also, make the example work for non-units too, by checking is InterfaceSection <> nil, and printing ImplementationSection too.