# Set Tag Set

This function is used to set a Tag Set via a list of field names. Items in the list can be separated by default list delimiters (\~), newline characters (\n) or commas. If the specified destination tag set does not exist, it will be created.

The text entry fields may contain any of the escape sequences described in Escape Sequences.

When run stepwise the statement is only executed once per set of files.

This statement is primarily intended to be used when you want to preserve a set specified at runtime by the Prompt for Fields statement. If you want to enter field names manually, remember that a field name can be entered via the context menu item Insert Yate Field while holding down the Shift key.

When setting a tag set and there are no fields in the list, an existing tag set will be removed. Therefore this statement can be used to remove a tag set.