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

referents has key

 
 

Return type: Switch
Returns:       Returns true if the referent exists, false otherwise. Replacing is with isnt will reverse the results.

Syntax

referents (has | hasnt) key string-expression


Purpose

A test to see if a particular referent exists within the current referents scope.

The string expression is the string giving the name of the referent. This test succeeds if one of the items in the referents shelf has a name equal to string-expression, and fails otherwise. hasnt will reverse the results of the test.

A referent will have an entry on the referents shelf if it has been:

    Related Syntax
   silent-referent
   set referent
 
 
 

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

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

Copyright © Stilo International plc, 1988-2008.