A question about ERL

Bengt Kleberg <>
Wed Jan 4 14:05:46 CET 2006

On 2006-01-04 10:37,  wrote:
> Hi all,
> I am a new comer in the Erlang world. By looking at the following lines 
> on an Erlang shell, I have one question regarding Erlang.
> Line 6 is not successful which says Hello is unbound. However, line 7 is 
> okay. I am thinking that 'unbound' means that the Erlang shell can't 
> determine the end of the string 'Hello'. But it is okay for string 
> 'hello'.  Can't a string with capital letter be used in such case?

'hello' is not a string, but an atom.
'Hello' is not a string, but a variable (without a value, ie unbound).

io:format("this is a test!~w~n",["Hello"]).


More information about the erlang-questions mailing list