title: Multiple statements in mathematica function
body: <p>I wanted to know, how to evaluate multiple statements in a function in Mathematica.<br>
  E.g.</p>
  
  <pre><code>f[x_]:=x=x+5 and then return x^2
  </code></pre>
  
  <p>I know this much can be modified as <code>(x+5)^2</code> but originally I wanted to read data from the file in the function and print the result after doing some data manipulation.</p>