Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SoftC Database Library v2.1 Guide - usage http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
USAGE
   int scdwcreate(
           char *filename,
           int blocksize );

PROTOTYPE IN
   sc_base.h

DESCRIPTION
   scdwcreate creates a FoxPro memo file. The memo text record length is
   determined by blocksize. The legitimate values for blocksize are
   from 1 to 511. Values of 1 through 32 are multiplied by 512 (1 = 512,
   2 = 1024, etc.) while the others are used as-is. This function will
   create a new memo file even if one had already existed.

RETURN VALUES
   SC_SUCCESS   file successfully created
   SC_WRTFAIL   file write failure
   SC_NOHNDL    no handles available
   SC_BADFNAME  invalid filename
   SC_NULLPARM  parameter address NULL

EXAMPLE
   #include <sc_base.h>

   void main()
   {
     scdinit(20,0);
     scdwcreate("TOC.FPT",64);
     scdterm();
   }

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson