TExec object in stand-alone program?

Hi,

Thanks Rene for your recent implementation (in TH2.h) of the methods:

virtual void SetShowProjectionX()
virtual void SetShowProjectionY()

They are very usefull indeed.

I was looking into TExec objects and tutorials DynamicSlice.C and Exec1.C. These examples have been described as:

“… examples that can be used as a starting point
to develop more powerful interactive applications exploiting CINT
as a development engine.”

Does this mean programs with a list of Execs on a TPad can not be compiled into a stand-alone program?

Tim

[quote]Does this mean programs with a list of Execs on a TPad can not be compiled into a stand-alone program?
[/quote]

Yes, they can. The comment meant gthat this facility is particularly useful to prototype quickly an interactive application, but it can also be used
in a compiled program.

Rene

[quote=“timtran”]Does this mean programs with a list of Execs on a TPad can not be compiled into a stand-alone program?[/quote]The “stand-alone” code can use C++ interpreter too. See for example root.cern.ch/root/htmldoc//src/T … rocessLine This method can be called by the compiled code. (ROOT is the “stand-alone” compiled program and does use “ProcessLine” and other similar CINT interfaces)