[erlang-questions] reset all bound variables
Sat Nov 24 00:41:40 CET 2007
And if you want to get a fresh shell, without killing your old bound
variables, you can hit Ctrl-G, then 's' to start another shell, and
'c' to connect to it. You can then switch back and forth between
different shells in the same erlang node through Ctrl-G.
2007/11/24, Bob Ippolito <>:
> 1> Bound = 1.
> 2> f().
> 3> Bound = 2.
> You can also use f(Bound) to forget just that one variable.
> On 11/23/07, Andrew Arrow <> wrote:
> > is there a way to reset all bound variables and make the erlang shell
> > go back to the 1> prompt? If I exit out and type erl again it takes
> > 20 seconds to get back to the shell. Is there a quicker way? Thanks.
> > _______________________________________________
> > erlang-questions mailing list
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> erlang-questions mailing list
More information about the erlang-questions