contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Attributes: list-valued
    Related Syntax  

A list-valued attribute's declaration is one of:

When the attribute is a list-valued attribute, a particular item in the list can be accessed with an item (or @) phrase. For example:

  attribute col-w @ 3

The selector must not be greater than the number of items in the attribute value. The number of items in a list-valued attribute can be determined by using the number of operator.

Determining the system, public identifier, or notation of an entity name used in an ENTITIES attribute requires the use of the item (or @) phrase.

List-valued attributes differ from shelves in the following ways:

The following is an example of how a repeat over can be used to iterate over the values in a list-valued attribute:

  element e
     local counter attribute-value-length variable
     ...
     repeat over attribute-value-length & attribute multi
        set attribute-value-length to length of attribute multi
     again

      Related Syntax
   attribute
   delimiter
   has key
   item
   number of
   number of attributes
 
----

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.