Dear ROOTers, I'v got a TObjArray which contains 100 TGTextButtons. I'm using the following lines to get back all TGTextButtons and take them as input of other functions. ------------------------------------ for(int i=0; i<100; i++) TGTextButton *tmp = (TGTextButton *)(StatusButtonArray->At(i)); ----------------------------------------- The error messages is : CC: "ControlPanel.cxx", line 87: error: jump past initializer (did you forget a '{ }'?) (1580) *** Error exit code 1 Does it mean I can not use TObjArray like that ? If not, what's the best way to do the same thing ? Sincerely yours Xie
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET