# Save and Restore Variables Statements

These statements allow you to preserve and restore track variables. The most common usage is to preserve track variables before calling another action which might change them. The track variables are saved to a container.

The supplied identifier is case insensitive and leading and trailing spaces are ignored. The identifier may contain any of the escape sequences described in Escape Sequences. The created container will be named:

> saved variables (identifier)

When saving, you specify which track variables you wish to be saved.

When restoring you have two optional settings:

All saved variables
  This option causes all track variables that were saved to be restored. When not enabled, you must select which track variables you are going to restore.
Remove container after restoring
  This option is enabled by default. It controls whether the container is removed after restoring the track variables. The only reason not to remove the container is if you might possibly have to restore the saved values more than once.