Export
Declaration specifier to indicate that a procedure in a DLL should be visible from other programs
Syntax
`
{ Sub | Function } proc_name ( argumentlist ) [ [ ByRef ] As datatype ] Export
`
Description
If a function is declared with this clause in a DLL, it is added to the public export table, so external programs can dynamically link to it using DyLibSymbol.
(specifier to be put at procedure definition level, forbidden at procedure declaration line level)
Example
See the examples on the Shared Libraries page.
Dialect Differences

- Not available in the -lang qb dialect unless referenced with the alias `__Export`.

Platform Differences

- Dynamic link libraries are not available in DOS, as the OS doesn't support them.

Differences from QB

- New to Freebasic

See also

- `DyLibLoad`
- `DyLibSymbol`
- `Alias`