[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Iterator.prg
 Array iterator functions
--------------------------------------------------------------------------------

     IEval( <nCount>, <bBlock> ) --> valueLast

     Evaluate <bBlock> <nCount> times, passing it the current iteration
     (starting at 1).  Return the value the last iteration returns.

     Collect( <aArray>, <bBlock> ) --> aResults

     Evaluate bBlock on each element of <aArray> and store the results in
     aResults.

     Extract( <aArray>, <bMatch> ) --> aMatches

     Returns the elements in <aArray> that match specified criteria.
     <bMatch> is passed one element at a time and should return true (.T.) if
     element matches criteria and false (.F.) otherwise.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson