[Gate-users] About EduGATE_October2014 installation with GATE V62

wugc wuguocheng at neusoft.com
Fri Nov 7 04:21:28 CET 2014


 Hi u.pietrzyk, 

Thank you for your reply.

When I running the other examples named Gamma_Camera_Release_2014, I also find the similar problems as follows:
Processing GenerateGateConfiguration.C( "Gamma_Camera.txt" )...
Error: Array index out of range al[found] -> [-1]  valid upto al[49] GenerateGateConfiguration.C:138:
*** Interpreter error recovered ***

I also changed the variable al[50] by al[80] as you suggest. But the same problems occurred as:
Processing GenerateGateConfiguration.C( "Coin_Chan.txt" )...
Error: Array index out of range al[found] -> [-1]  valid upto al[79] GenerateGateConfiguration.C:144:
*** Interpreter error recovered ***

 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?
    
        fin.open(config);
        for (int i=0; i<numCombo; i++) {

                hframes[i] = new TGHorizontalFrame(this, 350, 20, kLHintsExpandX);
                fCombo[i] = new TGComboBox(hframes[i], 100);


                int numParameters=0;
                int found=0;

                getline(fin,temp);

                while(found!=-1){
                        found=temp.find(";",found+1);
                        numParameters++;
printf("%d",found);
printf("\n");
        };
   
Thank you very much.

wugc
2014-11-07



  
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141107/f176c610/attachment.html>


More information about the Gate-users mailing list