home *** CD-ROM | disk | FTP | other *** search
-
-
- #include "d4base.h"
- #include "w4.h"
-
- main( int argc, char **argv )
- {
- int i ;
-
- /* This explicit initialization call is to make Code Base 4.2 use less
- memory than it otherwise would. */
- d4initialize( 1, 3, 50, 1000, 0L ) ;
- w4clear(-1) ; /* Clear the screen. */
-
- if ( argc <= 1 )
- {
- w4display( " How to Run Browse ",
- "BROWSE Database_File [Index_File] [Index_File] ...",
- "",
- #ifdef CLIPPER
- "This version uses Clipper NTX files.",
- #else
- "This version uses dBASE NDX files.",
- #endif
- "",
- "BROWSE was written using Code Base 4.2. Code Base 4.2",
- "is a C library for database and screen management. It",
- "is used by C programmers to create applications compatible",
- "with the data, index and memo files of dBASE or Clipper.",
- "",
- "For more information, you may call, phone or fax:",
- "",
- " Sequiter Software Inc.",
- " PO Box 5659, Station L",
- " Edmonton, Alberta",
- " Canada T6C 4G1",
- "",
- " Call (403) 448-0313",
- " Fax (403) 448-0315",
- (char *) 0 ) ;
- w4exit(1) ;
- }
-
- if ( d4use( argv[1] ) < 0 ) w4exit(1) ;
-
- for ( i=2; i<argc; i++ )
- i4open( argv[i] ) ;
-
- b4browse( b4quick_browse, b4quick_edit ) ;
-
- d4close_all() ;
- w4exit(0) ;
- }
-