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>sx_memoext():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_MemoExt():

  Syntax:  Sx_MemoExt( [<cMemoExt>] )

           cMemoExt = Optional file extension to set as the default for
                      memo files.  You need not include the period before
                      the extension.

  Returns:  If SIXCDX or SIXNSX is the default RDD or the current workarea
            was opened VIA "SIXCDX" or "SIXNSX", then the current default
            memo file extension for that SIx Driver flavor will be returned.
            Otherwise, ".DBT" is returned.

  Description:  Returns the memo file extension that would be used to create
                or open memo files in the current configuration.  If a new
                extension is specified, then all subsequent database files
                that are opened or created, that contain a memo field, will
                use the new extension.


  Example:

    #include "SIXNSX.CH"

    LOCAL aDBF := {{"NAME", "C", 30, 0 },;
                   {"NOTES", "M", 10, 0 }}

    RDDSetDefault("SIXNSX")
    USE test
    ? Sx_MemoExt()              // Returns ".SMT"

    Sx_MemoExt(".FOO")
    ? Sx_MemoExt()              // Returns ".FOO"

    // Create CUSTOMER.DBF database and CUSTOMER.FOO memo file
    dbCreate( "CUSTOMER", aDBF )



See Also: RDD_Info() Sx_IsDBT()

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