[erlang-questions] reset all bound variables

Bob Ippolito bob@REDACTED
Sat Nov 24 00:21:43 CET 2007


1> Bound = 1.
1
2> f().
ok
3> Bound = 2.
2

You can also use f(Bound) to forget just that one variable.

-bob

On 11/23/07, Andrew Arrow <oneone@REDACTED> 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
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list