swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
operator  

external-function

 
 

Return type: String
Returns:       Returns the non-OmniMark name of the external function.

Syntax

external-function  function-name


Purpose

An external-function operator is used in an external function association inquiry.

In an OmniMark program, an external-function is a name which is associated with an externally defined (non-OmniMark) function. The external function can have a different name in the external function library than its assigned OmniMark name. An external-function association inquiry allows the programmer to access the external name of the external-function associated with an OmniMark external function name.

For example, the following code illustrates how external-function and function-library of external-function can be used to query a function and return a string value containing either the external function name or the library name:

  output "For external function %"get-db-record%",%n" _
         "    external name = %"" ||
         external-function get-db-record ||
         "%",%n" _
         "    function library name = %"" ||
         function-library of external-function get-db-record ||
         "%".%n"

    Related Syntax
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.