home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / cfuncs.arj / WEDIT.DOC < prev    next >
Encoding:
Text File  |  1991-02-27  |  996 b   |  20 lines

  1. /*----------------------------------------------------------------*/
  2. /*---------------------------wedit--------------------------------*/
  3. /*            WINDOW EDIT                  */
  4. /*                                  */
  5. /*DESCRIPTION: Creates a window for data entry with an option to  */
  6. /*    check each line with CheckNum.  Writes the data to a file */
  7. /*                                  */
  8. /*INPUT:                                                          */
  9. /*    filename - name for output file                             */
  10. /*    width    - width of the window                              */
  11. /*    length   - length of the window                             */
  12. /*    fcheck  - a function that performs a check on the          */
  13. /*          entries.  Returns 1 for a pass, 0 for fail.      */
  14. /*          Passing NULL means no check will be performed.  */
  15. /*USES: Frame, strspc, OnCursor, OffCursor              */
  16. /*----------------------------------------------------------------*/
  17.  
  18. wedit( char *filename, int width, int length,
  19.     int (*fcheck) (const char *))
  20.