<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
DIV.FoxDiv20141107111634502014 {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; WORD-WRAP: break-word; COLOR: #000000; FONT-SIZE: 10.5pt; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16575"></HEAD>
<BODY style="MARGIN: 10px">
<DIV style="FONT-FAMILY: 华文仿宋; FONT-SIZE: 12pt"> Hi 
<SPAN>u.pietrzyk</SPAN>, 
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt"> </DIV>
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt">Thank you for 
your reply.</DIV>
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt"> </DIV>
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>When I running the other examples named Gamma_Camera_Release_2014, I also find the similar problems as follows:</DIV>
<DIV>Processing GenerateGateConfiguration.C( "Gamma_Camera.txt" )...</DIV>
<DIV>Error: Array index out of range al[found] -> [-1]  valid upto al[49] GenerateGateConfiguration.C:138:</DIV>
<DIV>*** Interpreter error recovered ***</DIV>
<DIV> </DIV>
<DIV>I also changed the variable al[50] by al[80] as you suggest. But the same problems occurred as:</DIV>
<DIV>Processing GenerateGateConfiguration.C( "Coin_Chan.txt" )...</DIV>
<DIV>Error: Array index out of range al[found] -> [-1]  valid upto al[79] GenerateGateConfiguration.C:144:</DIV>
<DIV>*** Interpreter error recovered ***</DIV>
<DIV> </DIV>
<DIV> I print output the variable "found" as follows, but I find 
out that the variable found = -1. So I think maybe the variable" found" 
must be slightly suspicious. But I don't know how to figure out the problem?</DIV></DIV></DIV>
<DIV 
style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt">    </DIV>
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>        fin.open(config);</DIV>
<DIV>        for (int i=0; i<numCombo; i++) {</DIV>
<DIV> </DIV>
<DIV>                hframes[i] = new TGHorizontalFrame(this, 350, 20, kLHintsExpandX);</DIV>
<DIV>                fCombo[i] = new TGComboBox(hframes[i], 100);</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>                int numParameters=0;</DIV>
<DIV>                int found=0;</DIV>
<DIV> </DIV>
<DIV>                getline(fin,temp);</DIV>
<DIV> </DIV>
<DIV>                while(found!=-1){</DIV>
<DIV>                        found=temp.find(";",found+1);</DIV>
<DIV>                        numParameters++;</DIV>
<DIV>printf("%d",found);</DIV>
<DIV>printf("\n");</DIV>
<DIV>        };</DIV>   </DIV>
<DIV style="FONT-FAMILY: 华文仿宋; COLOR: #000000; FONT-SIZE: 12pt">Thank you very 
much.</DIV>
<DIV style="TEXT-INDENT: 2em; FONT-FAMILY: 华文仿宋; FONT-SIZE: 12pt"> </DIV>
<DIV style="FONT-FAMILY: 华文仿宋; FONT-SIZE: 12pt">wugc</DIV>
<DIV>2014-11-07</DIV>
<DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
</DIV>
<DIV><SPAN><SPAN 
style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt"><SPAN 
style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt">  
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0">
<DIV style="COLOR: #c0c0c0"></SPAN></SPAN></SPAN>
<DIV>
<DIV class=FoxDiv20141107111634502014><FONT color=black size=1 
face=Arial></FONT></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>