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 - c_aput() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_APUT()

 DESCRIPTION

 C_APUT() writes the given numeric value to a specified element in
 the ClipOn array.  (Refer to Chapter 3 for a complete discussion
 about ClipOn arrays.)

 NOTES

 The numeric reference for the ClipOn array is a pointer to the
 array in memory.  Be careful not to change the value of this
 pointer, or the array will be unaccessible.

 SYNTAX

 C_APUT(array, element, value)

 PARAMETERS

 array (N) is the numeric reference variable for the ClipOn array.

 element (N) is the array element to write the numeric value.

 value (N) is the numeric value to write.

 RETURNS

 There is no return value.

 EXAMPLES

 select 0
 use test

 a1 = c_adeclare(10000)  && Declare array for 10,000 elements

 for i = 1 to 100        && Put the first 100 record numbers
   c_aput(a1,i,recno())  && in array elements 1 - 100.
   skip
 next
 ...
 c_arelease(a1)          && Release array


See Also: C_ADECLARE() C_ARELEASE() C_AGET() C_ASIZE() C_ADUP()

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