title: Specman e: How to pass a verbosity in a variable to a message() action?
body: <p>I need to set a message verbosity using a variable, e.g.:</p>
  
  <pre><code>    my_write(my_verb : message_verbosity) is {
          message(BUS, my_verb, vt.text_style(PURPLE, "txt txt txt")); 
          // other logic
      };
  </code></pre>
  
  <p>This code causes the next compilation error:</p>
  
  <pre><code>*** Error: The verbosity parameter must be a constant of type 'message_verbosity'.
  </code></pre>
  
  <p>But actually even when I've defined the verbosity as constant field:</p>
  
  <pre><code>const my_verb : message_verbosity;
  my_write() is {
      message(BUS, my_verb, vt.text_style(PURPLE, "txt txt txt")); 
  };
  </code></pre>
  
  <p>I've got the same compilation error. </p>
  
  <p>How the message verbosity can be passed in a variable to the <code>message()</code> action?</p>
  
  <p>Thank you for your help</p>