Am 10.10.2011 17:41 schrieb Sven Barth:
> Move the "external ..." part to the interface and remove the one in the 
> implementation section. This works at least for me and is the usual way 
> of importing functions in their own unit.

Thanks, that works. Summary of some more tests:
- 'external ...' in the interface section works
- 'external ...' in the implementation if the procedure is not declared in
the interface section works
- 'external ...' in the implementation and a declaration in the interface
section does NOT work

That probably should at least get a documentation line somewhere.

Thanks,
Michael

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to