Hi Ingo, I had already fixed the Web page yesterday night. Click on refresh with your browser. Thanks for reporting this inconsistency the html page. Rene Brun Ingo Strauch wrote: > > Christian Holm Christensen wrote: > > > > Remember you _have to_ escape quotes in a string, for it to have the > > meaning of a quote, and not a string delimiter. Hence, you should > > probably do: > > > > bar.AddButton("Close Bar", "gROOT.Reset(\"a\")","Close ControlBar"); > > ^^ ^^ > > || || > > I know I have to escape the quotes in a string. In fact it was the first thing > I tried when the code from the ROOT tutorials page didn't work. It seemed > obvious but still it didn't work... Maybe it is possible to correct the code > on the web page. > > > Incidently, "bar.Delete()" doesn't work either. Try "delete bar". > > Oh, 'bar' is an object on the stack in this case, but of course with a heap > based object both 'delete bar' and 'bar->Delete()' work. > > Maybe it's interesting to know that I'm running ROOT 2.24/02 on a SuSE 6.3 > Linux i686 machine with kernel 2.2.12 ... > > Greetings, > Ingo
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:26 MET