contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Functions: argument separator ambiguity
Prerequisite Concepts     Related Syntax  

The argument heralds used in a function's definition cannot be "ambiguous" amongst themselves. For example, the following produces an error:

  define function ambig value counter x
            with value counter y optional
            with value counter z as
  ...

The error is that once an argument value for "x" has been found, the herald "with" can either designate the optional argument "y" or the following argument "z".

If two or more arguments can be recognized at the same time then each must have a distinct function argument separator. It is an error for two such arguments to have the same function argument separator.

The rule for determining which arguments can be recognized is:

Prerequisite Concepts
     Functions
   Functions: argument classes
 
  Related Syntax
   define function
   optional
 
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:00:48 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.