On Fri, 1 Jan 2021, Mattias Gaertner via fpc-pascal wrote:
Hi, library test; procedure Test; begin end; exports Test name 3 'abc'; // ^^^^^^^ end.
I think this is a bug. Delphi also barfs on it. However the following does work: exports Test index 1 name 'abc'; Although incomplete, the following does not mention you can include a number: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Writing_Dynamically_Loaded_Libraries Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal