| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #DELETEALL (delete multiple multi-valued symbol instances) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[ delete delete a multi valued symbol instance .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ display display only prompt .htm|{{btn_next_n.gif|Next page}}]] | | || **#DELETEALL(** //symbol, expression// **)** {{blk2blue.jpg|blk2blue.jpg}} | **#DELETEALL** | Deletes the values from specified instances of a multi-valued user-defined symbol. | | //symbol// | A multi-valued user-defined symbol. | | //expression// | An expression that defines the instances to delete. | The **#DELETEALL** statement deletes all values from the //symbol// that meet the //expression//. **Example:** **#DECLARE(%ProcFilesPrefix),MULTI      #!Declare multi-valued symbol** **#ADD(%ProcFilesPrefix,'SAV')          #!Add a value** **#ADD(%ProcFilesPrefix,'BAK')          #!Add a value** **#ADD(%ProcFilesPrefix,'PRE')          #!Add a value** **#ADD(%ProcFilesPrefix,'BAK')          #!Add a value** **#ADD(%ProcFilesPrefix,'QUE')          #!Add a value** **#!%ProcFilesPrefix contains: SAV, BAK, PRE, BAK, QUE** **#DELETEALL****(%ProcFilesPrefix,'BAK')    #!Delete all BAK instances** **#!%ProcFilesPrefix now contains: SAV, PRE, QUE** **See Also:     **[[ declare declare a user defined symbol .htm|#DECLARE]] ,[[ add add to multi valued symbol .htm|#ADD]]