manual:chapter6:tags:cmd_mktag

Synopsis


Apply a tag to an object

Stack Diagram


Input Stack Output Stack
Slabel O T
Level 2 Level 1 Level 1

Legend

Keyword type Command
Parallel list processing capabilities Group 6 Two arguments, one result commands
Affected by flags None

Description


The →TAG combines a label and a generic object into a tagged object.

Compatibility


→TAG is not fully equivalent to its userRPL counterpart.

In particular:

  • →TAG accepts only strings as labels, while userRPL accepts also identifiers and real numbers.

Usage


Input

4:                                      
3:                                      
2:                                "Root"
1:                                  '√2'
…………………………………………………………………………………………………………
→TAG                                    


Output

4:                                      
3:                                      
2:                                      
1:                           :Root: '√2'
…………………………………………………………………………………………………………
                                        

Related Commands


Tag objects 2

Command Short Description
→TAG Apply a tag to an object
DTAG Remove a tag from an object
  • manual/chapter6/tags/cmd_mktag.txt
  • Last modified: 2021/09/21 10:30
  • by jojo1973