up previous next

Tag

Syntax

Tag(E:OBJECT):STRING
    

Summary

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,"MyTag");
Type(L);
TAGGED("MyTag")
-------------------------------
Tag(L);
MyTag
-------------------------------
        
    

See Also