[fpc-pascal] bug or feature

Michael Van Canneyt michael at freepascal.org
Fri Jan 1 19:42:25 CET 2021



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.


More information about the fpc-pascal mailing list