Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_ardump()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_ARDUMP()


Syntax:        L_ARDUMP(<array>,<expN1>,<expN2>)


Purpose:       Dumps the contents of an array to the screen.


Arguments:     <array> the name of the array to be dumped on the
               screen.

               <expN1> the element at which to start dumping.

               <expN2> the element at which to stop dumping.

               If <expN1> is and <expN2> are 0 the whole array will be
               dumped.


Returns:       The number of initialized elements that have been
               dumped to the screen or an error number.


Usage:         Useful for debugging purposes.


Examples:      DECLARE array[8]

               array[1] = 23
               array[2] =
               array[3] = 46
               array[4] = 2000
               array[5] =
               array[6] = 100
               array[7] = 2546

               array[8] = 25

               ? L_ARDUMP(arr1,2,8)     && Result: 5

               This example Dumps the elements 2,3,4,5,6,7 and 8 from
               an array called arr1 to the screen.  Note that the return
               value is 5 because elements 2 and 5 are uninitialized.


Language:      Clipper

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