home *** CD-ROM | disk | FTP | other *** search
- /*----------------------------------------------------------------*/
- /*---------------------------wedit--------------------------------*/
- /* WINDOW EDIT */
- /* */
- /*DESCRIPTION: Creates a window for data entry with an option to */
- /* check each line with CheckNum. Writes the data to a file */
- /* */
- /*INPUT: */
- /* filename - name for output file */
- /* width - width of the window */
- /* length - length of the window */
- /* fcheck - a function that performs a check on the */
- /* entries. Returns 1 for a pass, 0 for fail. */
- /* Passing NULL means no check will be performed. */
- /*USES: Frame, strspc, OnCursor, OffCursor */
- /*----------------------------------------------------------------*/
-
- wedit( char *filename, int width, int length,
- int (*fcheck) (const char *))