up previous next
Tagged

tag an object for pretty printing

Syntax
Tagged(E:OBJECT,S:STRING):TAGGED(S)

Description
This first function returns the object E, tagged with the string S. Tagging is used for pretty printing of objects. See the reference listed below.

Example
L := [1,2,3];
M := Tagged(L,"MyTag");
Type(L);
LIST
-------------------------------
Type(M);
TAGGED("MyTag")
-------------------------------
Type(Untagged(M));
LIST
-------------------------------


See Also