swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
declaration/definition  

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
   define function
   set external-function
 
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:13 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.