Hi, I cannot reproduce your problem. Your macro runs correctly for me. On which system are you running ? Rene Brun WSChoong@lbl.gov wrote: > > 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 > > -------------------------------------------------------------------------------- > > Name: calibrateEnergy.C > calibrateEnergy.C Type: application/x-unknown-content-type-cfile > Encoding: base64 > > Name: wta 0ch 0.txt > wta 0ch 0.txt Type: Plain Text (text/plain) > Encoding: base64
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET