<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
HELLO USERS,<br>
<br>
I have a site list file with 3 dimension like this:<br>
<br>
<i>518326|246143|1765#1 %0.8</i><br>
<br>
How do I have to read the 3rd dimension?<br>
<br>
<i>while(G_site_get(fd,s)!=1)<br>
&nbsp;&nbsp;&nbsp; printf("s-&gt;east=%lf&nbsp; + s-&gt;north=%lf + s-&gt;dim[0]=%lf \n");</i><br>
<br>
it give me segmantation fault!<br>
instead:<br>
<i>while(G_site_get(fd,s)!=1)<br>
&nbsp;&nbsp;&nbsp; printf("s-&gt;east=%lf&nbsp; + s-&gt;north=%lf&nbsp; \n");<br>
<br>
</i>doesn't !!!!!<br>
<br>
Should i have top use G_readsites_xyz?????<br>
<br>
THANKS YOU ALL!<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="50">-- 
-------------
note: change my e-mail reference to <a class="moz-txt-link-abbreviated" href="mailto:massimiliano.cannata@supsi.ch">massimiliano.cannata@supsi.ch</a>
      because the old one will be deleted soon.
-------------
Ing.  Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: <a class="moz-txt-link-abbreviated" href="mailto:massimiliano.cannata@supsi.ch">massimiliano.cannata@supsi.ch</a>
Internet: <a class="moz-txt-link-freetext" href="http://www.ist.supsi.ch">http://www.ist.supsi.ch</a>
</pre>
</body>
</html>