title: How to check the return value of a contract call when sending Ethers?
body: <p>When calling a contract like this :</p>
  
  <pre><code>if(!contractname.somefunction()) throw;
  </code></pre>
  
  <p>It both checks the stack (which checks if contract call’s fails) and if the contract call succeeds but returns false in memory.</p>
  
  <p>But when using <code>.value()</code> or <code>.send()</code> it only checks if the contract calls fail, which means it doesn’t check for the return value in memory.</p>
  
  <p>So how to check for a return value in memory while still sending Ethers ?</p>