[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function            DELARRAY()
Action              Deletes all elements of an array
Returns
Category            Array
Syntax              DELARRAY(<array>)
Description         Deletes all elements of an array. Basically
                    un-initializes the array.
Examples            * Say you wish to re-use an array, passing
                    * it to ACHOICE() each time around, and it
                    * may have different lengths each time. What
                    * you want to do is get rid of any extra
                    * elements before re-filling the array.
                    * e.g.
                    declare reuse[200]
                    *
                    DO WHILE .t.
                      * (code to pick and open dbf)
                      * (code to pick and open dbf)
                      afields(m->reuse)
                      fieldpick = achoice(10,10,20,40,m->reuse)
                      * (do something with field selected)
                      * (do something with field selected)
                      DELARRAY(m->reuse)
                    ENDDO
Found in (prg)......S_DELAR.PRG

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson