How to clear workspace variables?

I’ve installed it revise.jl How can I use this bag? How can I clear the previous working variables after modifying the program to see the new variable values

Your question is a bit hard to understand.

Revise.jl basically allows you to change function definitions without having to restart the REPL. You don’t need to clear your previous definitions.

Similarly, when you run your code, it will overwrite previous variable values. You don’t need to clear those either before running the code.

If this does not answer your question, please provide an example of what you are trying to accomplish.

1 Like

You can’t. Julia doesn’t have a way of clearing the “workspace”, even with Revise.

Just run your function again with the new parameter values.

1 Like