Re:

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Tue, 14 Aug 2007 16:06:48 +0200


Hi Andrea,

use e.g. gROOT->ProcessLine(instruction.c_str())

Axel.

Andrea Massironi wrote:
> Dear Rooters,
> Is it possible to execute a Cint script contained in a string?
> I'd like to do something like this:
>
> std::string instruction = "int a=1";
>
> and then something to "execute instruction"
>
>
> Thanks
>
>
>
Received on Tue Aug 14 2007 - 16:07:18 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 14 2007 - 17:50:02 CEST