Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

AEVAL()

Evaluated the subscript element of an array
---------------------------------------------------------------------------------

 Syntax

        AEVAL(<aArray>, <bBlock>, [<nStart>], [<nCount>]) --> aArray  

 Arguments

        <aArray>   Is the array to be evaluated.      

        <bBlock>   Is a code block to evaluate for each element 
                  processed.

        <nStart>   The beginning  array element to evaluate.      

        <nCount>   The number of elements to process.    

 Returns

        <aArray>   an array pointer reference.    

 Description

      This function will evaluate and process the subscript elements  in
      <aArray>. A code block passed as <bBlock> defines the operation  to
      be executed on each element of the array. All elements in <aArray>
      will be evaluated unless specified by a beginning subscript position
      in <nStart> for <nCount> elements.

      Two parameters are passed to the code block <bBlock>. The individual
      elements in an array are the first parameter and the subscript
      position  is the second.

      AEVAL() does not replace a FOR...NEXT loop for processing arrays. If
      an array is an autonomous unit, AEVAL() is appropriate. If the
      array  is to be altered or if elements are to be reevaluated, a
      FOR...NEXT  loop is more appropriate.

Status

      Ready

 Compliance

      This function is CA Clipper compliant

 Files

      Library is vm



See Also: EVAL() DBEVAL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson