From e318f7ef0901ad8230cf7a477c20ccf202f4e9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Mon, 19 Sep 2011 14:18:09 +0200 Subject: Fix typo in the Reference Manual macros section The module is not added in a function call inside a macro. --- system/doc/reference_manual/macros.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/doc') diff --git a/system/doc/reference_manual/macros.xml b/system/doc/reference_manual/macros.xml index 9dd5fc79bd..bfac7f8d79 100644 --- a/system/doc/reference_manual/macros.xml +++ b/system/doc/reference_manual/macros.xml @@ -234,7 +234,7 @@ or ?TESTCALL(you:function(2,1)).

results in

-io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",m:myfunction(1,2)]), +io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",myfunction(1,2)]), io:format("Call ~s: ~w~n",["you : function ( 2 , 1 )",you:function(2,1)]).

That is, a trace output with both the function called and the resulting value.

-- cgit v1.2.3 From e43d6460cc5bd0301da7479a715d3c1b66948957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Mon, 19 Sep 2011 14:28:07 +0200 Subject: Add missing spaces in the Reference Manual distributed section In the HTML version of the doc those spaces are necessary to separate those words. --- system/doc/reference_manual/distributed.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/doc') diff --git a/system/doc/reference_manual/distributed.xml b/system/doc/reference_manual/distributed.xml index d0eac78404..bc55d14c90 100644 --- a/system/doc/reference_manual/distributed.xml +++ b/system/doc/reference_manual/distributed.xml @@ -176,11 +176,11 @@ dilbert@uab is_alive() - Returns trueif the runtime system is a node and can connect to other nodes, falseotherwise. + Returns true if the runtime system is a node and can connect to other nodes, false otherwise. monitor_node(Node, true|false) - Monitor the status of Node. A message{nodedown, Node}is received if the connection to it is lost. + Monitor the status of Node. A message{nodedown, Node} is received if the connection to it is lost. node() @@ -200,7 +200,7 @@ dilbert@uab set_cookie(Node, Cookie) - Sets the magic cookie used when connecting to Node. If Nodeis the current node, Cookiewill be used when connecting to all new nodes. + Sets the magic cookie used when connecting to Node. If Node is the current node, Cookie will be used when connecting to all new nodes. spawn[_link|_opt](Node, Fun) -- cgit v1.2.3