Re: [ROOT] function outside cint

From: Maurizio Ungaro (ungaro@jlab.org)
Date: Fri Sep 12 2003 - 16:45:31 MEST


Rene Brun wrote:

>Maurizio,
>
>You can specify any executable command that you can execute at the CINT
>command line. This can include calls to CINT interpreted functions
>or calls to compiled member functions for classes processed via rootcint.
>  
>

Hi Rene,
thanks for answering.
What I meant is something like

 bar->AddButton("Show electron fiducials cut for sector 1", "show(1, 0)");

where show is my function in a standalone code.
The bar scope doesn't know it (I got message "show unknown
in current scope").

I'm sorry if I miss something in the manual. Is there a way to
make CINT "see" that function?

Of course all of the above works in a macro with command line.

thanks and sorry - I know this was brought up a few times.
mauri



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET