• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to batch array outputs?  RSS feed

 
Jake Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an array that has about 60,000 elements,
and i want to batch it into 300 a piece to output data.
anyone can help?
thanks a lot.
J-
 
Sayed Ibrahim Hashimi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This probably isn't the best way to do it, but it works. I'm sure you can do it with the % operator counting the number of elements in the group but I didn't really feel like going through all that because I'm not sure what it is that youre trying to do.
Hope this helps.
[ December 02, 2002: Message edited by: Ibrahim Hashimi ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!