I am using version 3.02.02. Attached is a C++ file and a data file which is read by one of the functions. I ran the file in root using ".x calibrateEnergy.C()". The function "readModuleSpectrum" read the data file correctly if the for loop in "calibrateEnergy" is commented out. However once the for loop is uncommented, the condition for the while loop in "readModuleSpectrum" is always true even though the condition is false. Woon-Seng Choong
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET