title: is there any way for solidity 0.4.24 get bytes data from call
body: <p>I am trying to follow this trick.</p>
  
  <p><a href="https://blog.polymath.network/try-catch-in-solidity-handling-the-revert-exception-f53718f76047" rel="nofollow noreferrer">https://blog.polymath.network/try-catch-in-solidity-handling-the-revert-exception-f53718f76047</a></p>
  
  <p>For solidity version 5 all works and I can do this:</p>
  
  <pre><code>(bool success, bytes memory returnData) =
                  address(token).call(...)
  </code></pre>
  
  <p>For solidity version 4 I can do only this: </p>
  
  <pre><code> (bool success) =
      address(token).call(...)
  </code></pre>
  
  <p>If I am trying get returnData in v4 I get this err</p>
  
  <blockquote>
    <p>TypeError: Not enough components (1) in value to assign all variables
    (2).</p>
  </blockquote>
  
  <p>is there any way to get returnData for Solidity v 4 ? Without double call?</p>
  
  <p>I need this data for case not to make a double call when I need to check the view function, this can be called or not on contracts.</p>