Syntax: #RES n
#RES [classname]
Related: #FILE

Reset the nth file back to the beginning. The file must be opened using the FILE command.

If used without parameters, this command resets all variables back to their startup defaults and classes back to their startup state. If used with the name of a class, all variables and triggers in the class are reset to their startup state. Note that the classname cannot be a number (or else it is interpreted as a file number to reset).

RESET examples

#RES 1
reset file 1 to the beginning.
resets variables and classes to their startup values