home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 18.26 Gather()
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- function Gather( nRec_num, retarry_ )
- LOCAL numfld:=fcount(),jj
- nRec_num := if(nRec_num=NIL,Recno(),nRec_num)
- goto nRec_num
- for jj = 1 to numfld
- fieldput( jj,retarry_ )
- next
- return NIL
-
- // end of file CHP1826.PRG
-