forum

Home / DeveloperSection / Forums / How to remove allocated value of a specific variable in Erlang?

How to remove allocated value of a specific variable in Erlang?

Anonymous User 1882 09-Mar-2016
Can anyone tell me that if I bound the variable with incorrect value then how can I replace with another value.
for example: I have create a variable in Erlang shell:
> One = 2.          // by mistake bound wrong value in variable One.
2
> One = 1.          // if we again bound with new value then it generates error.
"exception error: no match of right hand side value 1"

So please tell me how to unbound any specific variable.
Thanks.

Updated on 09-Mar-2016
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By