Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>set memoblock:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SET MEMOBLOCK:

  Syntax:

  SET MEMOBLOCK TO <value>

  <value> specifies the block size to use (in bytes) for new memo files.
  Valid block sizes are from 16 to 1024 bytes, with a default value of 64
  bytes.

  This command sets the default memo block size for .FPT (SIXCDX) or .SMT
  (SIXNSX) memo files.  This setting is valuable ONLY when CREATING new
  tables that contain memo fields.

    NOTE:  This command is NOT supported under SIXNTX.


  Example:

    #include "SIXNSX.CH"

    // Display something on the screen
    ? "Creating MEMOTEST.DBF..."

    // Make the SIx Driver's SIXNSX flavor the default RDD
    RDDSetDefault("SIXNSX")

    //Set the memo block size to 32 bytes
    SET MEMOBLOCK TO 32

    // Create a new database with a memo field using modified block size
    dbCreate( "MEMOTEST", {{ "LAST",    "C", 20, 0 }, ;
                           { "FIRST",   "C", 20, 0 }, ;
                           { "STREET",  "C", 30, 0 }, ;
                           { "CITY",    "C", 15, 0 }, ;
                           { "STATE",   "C",  2, 0 }, ;
                           { "BALANCE", "N",  8, 2 }, ;
                           { "NOTES",   "M", 10, 0 }} )
    ?? "Done!"


See Also: Sx_SetMemoBlock()

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