title: Get max values of several int parameters
body: <p>I have a list of parameters to read, and need to get their max value. I am not talking about a List but about several int values :</p>
  <pre><code>int ColAssComm = Register.getImportExcelDSTV(&quot;AssComm&quot;)-1;
  int ColAssDwg = Register.getImportExcelDSTV(&quot;AssDwg&quot;) - 1;
  int ColAssGpe = Register.getImportExcelDSTV(&quot;AssGp&quot;) - 1;
  int ColAssName = Register.getImportExcelDSTV(&quot;AssName&quot;) - 1;
  int ColAssPrio = Register.getImportExcelDSTV(&quot;AssPrio&quot;) - 1;
  int ColAssPds = Register.getImportExcelDSTV(&quot;AssPds&quot;) - 1;
  int ColAssSurfPaint = Register.getImportExcelDSTV(&quot;AssSurfPaint&quot;) - 1;
  int ColAssQty = Register.getImportExcelDSTV(&quot;AssQty&quot;) - 1;
  int ColRepName = Register.getImportExcelDSTV(&quot;RepName&quot;) - 1;
  int ColRepQty = Register.getImportExcelDSTV(&quot;RepQty&quot;) - 1;
  int ColRepExecutionClass = Register.getImportExcelDSTV(&quot;RepExecutionClass&quot;) - 1;
  int ColRepTreatment = Register.getImportExcelDSTV(&quot;RepTreatment&quot;);
  </code></pre>
  <p>And I need to do somthing like</p>
  <pre><code>int maxvalue = Max(ColAssComm,ColAssDwg..., ColRepTreatment)
  </code></pre>
  <p>Is there a way to do it all at once?</p>