Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - <b>numeric arrays</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NUMERIC ARRAYS

 The Numeric Arrays category includes functions to allow for the
 creation and manipulation of numeric arrays.  The numeric arrays
 are integer arrays between 1 and 32,000 elements.  Each array
 element can contain a number between -32,767 and 32,767.  The main
 purpose of the numeric array is to provide a method for creating
 arrays containing record numbers from a database larger than
 Clipper's 4096 limit, for use with other ClipOn functions that can
 take numeric arrays as arguments.  The numeric array functions
 provide all the tools for building and accessing large arrays
 including a function, C_ASEARCH(), designed specifically to fill an
 array with record numbers matching an expression.

 The C_ADECLARE() function is used to create an array of any size
 between 1 and 32,000.  If C_ADECLARE() can successfully declare the
 array it returns a variable containing the address in memory of the
 array.  The variable containing the memory address is referred to
 as the array's reference variable.  The reference variable is then
 used by all functions to access the array.

 Note that since the array's reference variable is an address in
 memory of the array, the variable must never be changed or released
 (while the array is being used), otherwise the array and the memory
 that it occupies will be unaccessible.

 C_ADECLARE()        C_AFIND()
 C_APUT()            C_ARELEASE()
 C_AGET()            C_ASEARCH()
 C_ASIZE()           C_ADUP()



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