EXPORT FUNCTION
EXPORT FUNCTION AS FuncName( ... ) RETURNING rettypeHistorical library-integration declaration.
Overview
The eAdvpl guide declares a function exported by an eAdvpl-generated library. Section 5.2, p. 27 describes names, types and external-function return without establishing current support, ABI, architecture or accepted types. This is a historical reference rather than a recipe for any AppServer. The example is a review checklist that neither loads a library nor executes a symbol. (Guia de referência eAdvpl, n.d., ref. 1)
Syntax
EXPORT FUNCTION AS FuncName( ... ) RETURNING rettypeReturn value
Declaration without its own return; rettype belongs to the external function.
Commented example
// Proposed integration record; not executable code.
Library: verify origin and architecture
Symbol: verify exported name
Parameters: verify types and convention
Current compatibility: unconfirmedAnalysis checklist; no library used. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Do not guess types or calling conventions from a function name.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.