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


Syntax:     ADEL(<array>, <expN>)

Purpose:    To delete an array element.

Arguments:  <array> is the name of the array to delete an element
            from.

            <expN> is the index of the element to delete.

Returns:    There is no return value.

Usage:      The contents of the specified array element are lost and all
            elements from that position to the end of the array are
            shifted up one element.  The last element in the array then
            becomes undefined until a new value is assigned to it.

Library:    EXTEND.LIB


----------------------------------- Example --------------------------------

   DECLARE array[3]
   array[1] = 1
   array[2] = 2
   array[3] = 3
   ? array[2]                 && Result: 2
   ADEL(array, 2)
   ? array[2]                 && Result: 3


See Also: ACOPY() AFILL() AINS()

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