title: In MQL4 how to get number of items in an array?
body: <p>I'm trying to get the size of an array and found this code to do it:</p>
  
  <pre><code>int  ArraySize(
   const void&amp;  array[]    // checked array
  
  );
  </code></pre>
  
  <p>but I get this error: </p>
  
  <blockquote>
    <p>'void' - illegal use of 'void' type    Test.mq4    81    10</p>
  </blockquote>
  
  <p>Anyone can help  me understand what I'm doing wrong? I'm using MetaTrader 4.</p>