swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
Prerequisite Concepts     Related Syntax  

Functions: pre-defining

Function pre-definitions

Functions must be defined or pre-defined before they are used. For mutually recursive functions, one or more of the functions must be pre-defined prior to the first actual function definition. A pre-definition looks like a function definition with no body:

  define function sort-by-value read-only stream original
                  into          modifiable  stream sorted
                  elsewhere

In general the properties of the function arguments in a predefinition must match those in the function definition. The exceptions are:

Prerequisite Concepts
   Functions
 
  Related Syntax
   elsewhere
   function, define function
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:25:49 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.