swirl
Guide to OmniMark 9   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
 
 
 

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.