swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
     
operator  

item of

 
 

Return type: Integer
Returns:       The position of the item on the shelf.

Syntax

item of  shelf-name indexer?


Purpose

When it is known that a shelf has a specific key, it is possible to find which item has that key with the item of operator.

This operation gives the position of the specified item on the shelf. It is an error if the specified item does not exist. One way to avoid this error when selecting an item by its key is to guarantee that the shelf has the key before looking for its position (the has key test can be used to do this).

       
 

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.