root [3] TSortedList *gMultSort = new TSortedList;
root [4] for(Int_t Loop = 0; Loop < 10; Loop++) {
end with '}'> cout << "Loop was " << Loop << endl;
end with '}'> gMultSort->Add(gMultEvts+Loop);
end with '}'> }
Loop was 10
*** Break *** segmentation violation
However, if I squeeze the 2 statements of the loop on one line,
everything goes fine. Is this a bug or a feature? (Sorry,
haven't been able to get to 2.0Beta yet).
Tim
--
~~ WWW Page: http://quantum.phy.vanderbilt.edu/~tim/ ~~~~~~~~~~
Tim Miller | "Am I mature enough to get old?"
Vanderbilt University | --Me.
| "With the amount of horse manure
Graduate Studies in Physics | currently in the air, the
Relativistic Heavy Ions | pigs are starting to complain!"
| --Andrew Rose
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~