home *** CD-ROM | disk | FTP | other *** search
-
- /* (c)Copyright Sequiter Software Inc., 1987-1990. All rights reserved.
-
- f4num_fields.c
- */
-
- #include "d4base.h"
- #include "u4error.h"
-
- extern BASE *v4base ;
- extern int v4cur_base ;
-
- /* f4num_fields
-
- Returns the number of fields in the selected database.
- */
-
- int f4num_fields()
- {
- if ( v4cur_base >= 0 )
- return( v4base[v4cur_base].num_fields ) ;
- else
- {
- u4error( E_D_MISSING, (char *) 0 ) ;
- return( -1 ) ;
- }
- }
-
-