CoCoA:Tag

From ApCoCoAWiki

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>