Hi rooters,
perhaps I missing a reference to a part of root documentation,
so please tell me where to read on how to make named objects
accessible by names under cint?
I have
TRint *theApp = new TRint("Rint", &argc, argv,0,0);
TCamacCall *CamacCall = new TCamacCall("CC","Camac call"); // derived from TNamed
in my program. Then
CINT/ROOT C/C++ Interpreter version 5.14.10, Jul 20 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] CC->Print();
Error: No symbol CC->Print() in current scope FILE:/var/tmp/baa.raGHD_cint LINE:1
Possible candidates are...
filename line:size busy function type and name
*** Interpreter error recovered ***
root [1] CC.Print();
Error: No symbol CC.Print() in current scope FILE:/var/tmp/caa_raGHD_cint LINE:1
Possible candidates are...
filename line:size busy function type and name
*** Interpreter error recovered ***
root [2] TCamacCall CC;
root [3] CC.SomeCamacCall();
This is a Camac call!
-----
Best regards,
Anton
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET