Using environment variables

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Thu, 27 Mar 2008 10:58:52 +0100


Dear all,

a very simple question.
If one wants to use an environment variable containing a path inside a method like "gROOT->LoadMacro()", how should he put it in?

I tried:

gROOT->LoadMacro("$(var)")
gROOT->LoadMacro("${var}")
gROOT->LoadMacro("$var")

and they apparently don't work.

What is the right syntax?

Thanks, cheers

    Alberto Received on Thu Mar 27 2008 - 10:58:35 CET

This archive was generated by hypermail 2.2.0 : Mon Mar 31 2008 - 17:50:01 CEST