A question about ERL

Lennart Ohman lennart.ohman@REDACTED
Wed Jan 4 14:12:24 CET 2006


Welcome to Erlang :-)
I suggest you read the first chapters of Concurrent Programming
in Erlang available at: http://www.erlang.org/download/erlang-book-part1.pdf
It will explain a lot to you about atoms,variables and such.

Good luck,
Lennart

-------------------------------------------------------------
Lennart Ohman                   office  : +46-8-587 623 27
Sjoland & Thyselius Telecom AB  cellular: +46-70-552 67 35
Sehlstedtsgatan 6               fax     : +46-8-667 82 30
SE-115 28, STOCKHOLM, SWEDEN    email   : lennart.ohman@REDACTED 
________________________________________
From: owner-erlang-questions@REDACTED
[mailto:owner-erlang-questions@REDACTED] On Behalf Of bobbyqiu@REDACTED
Sent: Wednesday, January 04, 2006 10:38 AM
To: erlang-questions@REDACTED
Subject: A question about ERL

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?
6> io:format("this is a test!~w~n",[Hello]). 
** 1: variable 'Hello' is unbound ** 
7> io:format("this is a test!~w~n",[hello]). 
this is a test!hello 
ok 
8> 






More information about the erlang-questions mailing list