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