title: how to store the data from each loop into an array or table form?
body: <pre><code>For[n = 1, n &lt; 6, n = n + 1,
     For[m = 1, m &lt; 6, m = m + 1, abc = doc[[n]];
     kk = doc[[m]];
     v =vector[abc, kk]; 
     vl = VectorLength[v]]]
  </code></pre>
  
  <p>I want to store the data from each loop into an array or table form. How can I do that?</p>