Clearing namespace and memory

Hi there,

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.

Thanks!

1 Answer



0



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;

aptech

1,773

Your Answer

1 Answer

0

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;


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.