2 Replies Latest reply on Sep 14, 2011 11:24 AM by Head1

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

    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.