Head1

How to activate a scheme , when the scheme name is a variable ?

Discussion created by Head1 on Sep 13, 2011
Latest reply on Sep 14, 2011 by Head1

Hello everybody,
        Simple question.

 

Writing a commnd to display a scheme is very simple:
          Example:    DC.LoadScheme ("Loc: TOP_ONLY")

I would like to  activating a scheme, when the scheme name is a VARIABLE.
      Example:
                     Dim Curr_scheme as string
                     Curr_scheme="TOP_ONLY"       
                      DC.LoadScheme ("Loc: Curr_scheme")        THIS DOES NOT WORK !!
      
      
   So, how can I activate a scheme when the scheme name is a variable ?
  
                Thanks to all helpers.
               
                    Head1.  

Outcomes