I've run into some issues where some variables get stored in memory and get reused when running new snippets of code.
I'm looking for a way to reset everything: the whole namespace; clearing out all the data from GAUSS' memory.
The two ways I know how to do this are:
- running "clearg" with each variable
- closing GAUSS and opening it again
Since both of these methods are quite a hassle, I just wanted to check if there was another easier way doing this.
Yes, there is a MUCH easier way! The
new command clears out all variables and procedure definitions in the GAUSS workspace.
// It is a good idea to start your programs // by clearing out your GAUSS workspace // variables with the 'new' command new;