home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- PROCEDURE Replarray
-
- PARAMETERS _repla, _replb, _replc, _repld, _reple
-
- * _repla is the name of the array to work with
- * _replb is the name of the database or work area to work with
- * _replc is the record number to work with; 0 means to APPEND BLANK
- * _repld is the field number to begin to work with
- * _reple is the number of fields to perform this operation with.
-
- DO CASE
- CASE PCOUNT() = 4
- _reple = 0
- CASE PCOUNT() = 3
- _repld = ""
- _reple = 0
- CASE PCOUNT() = 2
- _replc = 0
- _repld = ""
- _reple = 0
- CASE PCOUNT() = 1
- _replb = ""
- _replc = 0
- _repld = ""
- _reple = 0
- OTHERWISE
- RETURN
- ENDCASE
-
- R_S_ARRAY(.T., _repla, _replb, _replc, _repld, _reple)
-
- * End of File
-
-