<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank you Ivan<br>
<br>
line 82: Population_Id = S#state.population_id,<br>
<br>
Merry Xmas to you too :)<br>
<br>
Bob<br>
Dunedin<br>
New Zealand<br>
<br>
On 24/12/2012 8:14 p.m., Ivan Uemlianin wrote:<br>
</div>
<blockquote
cite="mid:DFB69333-5642-439B-A772-CF0D29A1BE20@llaisdy.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>I dont have my computer with me but the error is at line 82
of the file population_monitor.erl.</div>
<div><br>
</div>
<div>Best wishes</div>
<div><br>
</div>
<div>Ivan<br>
<br>
--<br>
festina lente
<div><br>
</div>
</div>
<div><br>
On 24 Dec 2012, at 01:32, Bob Matthews <<a
moz-do-not-send="true" href="mailto:rgmatthews@orcon.net.nz">rgmatthews@orcon.net.nz</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">The code that I am looking at is
DXNN2 copyrighted to Gene Sher.<br>
<br>
The error message I got which I am having difficulty
interpreting is as follows....................<br>
<br>
4> population_monitor:start().<br>
{error,{{badrecord,state},<br>
[{population_monitor,init,1,<br>
[{file,"population_monitor.erl"},{line,82}]},<br>
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},<br>
{proc_lib,init_p_do_apply,3,<br>
[{file,"proc_lib.erl"},{line,227}]}]}}<br>
<br>
I am using the latest versionR15B03<br>
<br>
Thank you for you help<br>
<br>
Bob<br>
Dunedin New Zealand<br>
<br>
On 24/12/2012 11:58 a.m., Matti Oinas wrote:<br>
</div>
<blockquote cite="mid:50D78C7D.4060303@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi,<br>
<br>
My first proposal is to change the editor to something
more usable like emacs or if you prefer something
different then notepad++, sublime text or eclipse +
erlIDE. Everyone of these are able to show you the line
numbers and offer syntax highlight features.<br>
<br>
It would help a lot if you tell us which code you are
looking at. Server callbacks probably mean gen_server
callbacks so it doesn't matter if you are using windows or
linux.<br>
<br>
Matti<br>
<br>
On 12/24/2012 12:08 AM, Bob Matthews wrote:<br>
</div>
<blockquote cite="mid:50D780F1.2090401@orcon.net.nz"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
Hi<br>
<br>
I have just started to learn Erlang............<br>
I am using Windows 7 on a PC<br>
<br>
<small><small><b><big><big>Question 1</big></big></b></small></small>)
when I get an error message, what is the easiest way for
me to find the exact line number?<br>
I use ms Word as an editor.<br>
<br>
<b>Question 2</b>) the code I am looking at was run on
Unix, on a server. <br>
Part of the code talks about server call-backs etc.<br>
It is unclear how I translate that to a windows PC<br>
<br>
Many thanks<br>
<br>
Bob<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
<p class="" avgcert""="" color="#000000" align="left">No
virus found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2013.0.2805 / Virus Database: 2634/5951 - Release
Date: 12/11/12<br>
Internal Virus Database is out of date.</p>
</blockquote>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>erlang-questions mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br>
</div>
</blockquote>
<p class="" avgcert""="" color="#000000" align="left">No virus
found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2013.0.2805 / Virus Database: 2634/5951 - Release Date:
12/11/12<br>
Internal Virus Database is out of date.</p>
</blockquote>
<br>
</body>
</html>