title: multiple return syntax
body: <p>I have a function that returns multiple values like this:</p>
  
  <pre><code>def func1() {
      return [val1, val2]
  }
  </code></pre>
  
  <p>How do I go about assigning these return values to another variable in the function that calls this function. I imagine it would be something like:</p>
  
  <pre><code>def funcThatCalledfunc1 {
      def [x,y] = func1()
  }
  </code></pre>
  
  <p>I want to end up <code>x</code> having value of <code>val1</code> and <code>y</code> having value of <code>val2</code>.</p>