Hi Olivier, As far as I know there is nothing like this. Look at my example below, it's a part of a larger macro with several histograms h1,h2 etc. ....................................... char *s = new char[1]; TCanvas *c = new TCanvas("c","histograms"); h1->Draw(); c->Update(); gets(s); // "return" is enough, root waits until you hit a key h2->Draw(); c->Update(); gets(s); ............................................................... Please note that the "Update" is necessary! Regards, Marek Kowalski On Wed, 26 May 1999, Olivier Meplan wrote: > Hi ROOTers! > > Is there in ROOT a function like "wait" in PAW wich is waiting that the > user hits Enter key to continue? > > Thanks > Olivier Meplan >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET