CoCoA:Tag

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Tag

returns the tag string of an object

Description

If E is a tagged object, this function returns the tag of E;

otherwise, it returns the empty string.

Example

  L := Tagged(3,<quotes>MyTag</quotes>);
  Type(L);
TAGGED(<quotes>MyTag</quotes>)
-------------------------------
  Tag(L);
MyTag
-------------------------------

Syntax

Tag(E:OBJECT):STRING

Tagged Printing

Tagged

Untagged

   <type>io</type>
   <type>printing</type>
   <type>tags</type>