<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Alas that produces:</p>
<p><span style="font-size:12.8px">problem.erl:26: Warning: variable
'Coordinates' exported from 'receive' (line 26)<br>
{"init terminating in
do_boot",{{badmatch,{{-4.998000e+02,6.000000e-01,2.000000e-01}}},[{problem,loop,1,[{file,"problem.erl"},{line,29}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}<br>
init terminating in do_boot ()<br>
</span><span style="font-size:12.8px"></span></p>
<br>
<div class="moz-cite-prefix">On 09/29/2016 10:34 AM, Vlad Dumitrescu
wrote:<br>
</div>
<blockquote
cite="mid:CAA-EFXsN9k-b=MTDtYzkUzrh-Jq_PiOd_7A71uRZiD2uNo7ieg@mail.gmail.com"
type="cite"><span style="font-size:12.8px">loop(Orbiter1) -></span><br
style="font-size:12.8px">
<span style="font-size:12.8px"> Coordinates = receive</span><br
style="font-size:12.8px">
<span style="font-size:12.8px"> {Orbiter1, Coordinates}
-> </span><span style="font-size:12.8px">Coordinates</span><br
style="font-size:12.8px">
<span style="font-size:12.8px"> end,</span><br
style="font-size:12.8px">
<span style="font-size:12.8px"> {X, Y, Z} = Coordinates,</span><br
style="font-size:12.8px">
<span style="font-size:12.8px"> io:format("Coordinates: ~p~n",
[Coordinates]),</span><br style="font-size:12.8px">
<span style="font-size:12.8px"> io:format("X: ~p, Y: ~p, Z:
~p~n", [X, Y, Z])</span><br style="font-size:12.8px">
<span style="font-size:12.8px"> loop(Orbiter1).</span></blockquote>
<br>
</body>
</html>