Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #POP (delete and re-fix a multi-value symbol) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#POP( symbol )

blk2blue.jpg

#POP Deletes the last instance of a multi-valued symbol and re-fiXEs to the new last instance.
symbol A multi-valued user-defined symbol.

The #POP statement deletes the last instance of a multi-valued symbol and re-fiXEs to the new last instance. This is directly equivalent to issuing a #DELETE(%MultiSymbol,ITEMS(%MultiSymbol)) statement followed by #SELECT(%MultiSymbol,ITEMS(%MultiSymbol)) statement.

Example:

#POP(%MultiSymbol)  #!Delete last instance and fix to new last instance