A module cannot export an ELSEWHERE definition for a function without also exporting an AS definition for that function.

#2185   Compile-time error

A module cannot export an ELSEWHERE definition for a function without also exporting an AS definition for that function.

Additional Information

The function is 'X'.

Explanation

A function predeclaration in a module is specified with the EXPORT qualifier, and the final definition with DEFINE.