home *** CD-ROM | disk | FTP | other *** search
- *******************
-
- FUNCTION Arraytomem
-
- PARAMETERS _thearray
-
- IF TYPE("_thearray") != "C" .AND. TYPE(_thearray) != "A"
- RETURN(.F.)
- ENDIF
-
- PRIVATE _qaz, _ext
-
- DECLARE _temp[LEN(&_thearray.)] && This makes sure that no over-ridding
- && of the array takes place!
- FOR _qaz = 1 TO LEN(&_thearray.)
- _ext = LTRIM(STR(_qaz))
- PUBLIC &_thearray.&_ext.
- &_thearray.&_ext. = &_thearray.[_qaz]
- NEXT
- RETURN(.T.)
-
- * End of File
-