From 87cd98eb897c1168d7928764f0140a443be21483 Mon Sep 17 00:00:00 2001
From: Tom Benner <0.36.0> is the return value from the The process "pong" now does: The process "pong" now does: I.e. After sending the message After sending the message The When you start an Erlang system which is going to talk to other
- Erlang systems, you must give it a name, eg:
tut15:ping(3, Pong_PID)
receive
finished ->
@@ -235,7 +235,7 @@ Ping_PID ! pong
Pid ! Message
$ erl -sname my_name
We will see more details of this later. If you want to
diff --git a/system/doc/getting_started/seq_prog.xml b/system/doc/getting_started/seq_prog.xml
index 3636b23797..699b9487ed 100644
--- a/system/doc/getting_started/seq_prog.xml
+++ b/system/doc/getting_started/seq_prog.xml
@@ -208,7 +208,7 @@ mult(X, Y) ->
called variables. Variables must start with a capital letter
(see the chapter
tut2:convert(3, inch).
- Does this mean that 3 is in inches? or that 3 is in centimeters +
Does this mean that 3 is in inches? Or that 3 is in centimeters and we want to convert it to inches? So Erlang has a way to group things together to make things more understandable. We call these tuples. Tuples are surrounded by "{" and "}".
@@ -736,7 +736,7 @@ list_max([Head|Rest], Result_so_far) -> the next part of the function.Some useful operators in guards are, < less than, >
greater than, == equal, >= greater or equal, =< less or
- equal, /= not equal. (see the chapter
+ equal, /= not equal. (See the chapter
To change the above program to one which works out the minimum
value of the element in a list, all we would need to do is to
@@ -889,7 +889,7 @@ format_temps(List_of_cities) ->
[City | convert_list_to_c(Rest)];
We go on doing this until we get to the end of the list (i.e. - the list is empty:
+ the list is empty):
convert_list_to_c([]) ->
[].
--
cgit v1.2.3