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

  Syntax:   Sx_BLOB2File( <cFileName>, <cFldName> )

       cFileName = The name of the file to be retrieved from the .FPT/.SMT
                   memo and created.  If a file of this name already exists
                   on the current or specified drive, it will be overwritten.

        cFldName = The name of the .FPT/.SMT memo field retrieve the file
                   from.

  Returns:   Logical.  TRUE (.T.) if successful, FALSE (.F.) if not.

  Description:   Sx_BLOB2File() will write the contents of an .FPT/.SMT memo
                 field out to a file.  If the contents of the memo field is a
                 file that was previously stored with Sx_File2BLOB(), any
                 required decompression or encryption will be performed
                 automatically.

                 The term "BLOB" is an acronym for Binary Large OBject,
                 which means basically any type of binary data, not just
                 plain ASCII text that would normally be associated with
                 memo fields.

    NOTE:  This function is NOT supported under SIXNTX.

  Examples:

    USE test VIA "SIXCDX"  // Open TEST.DBF and TEST.FPT

    // Extract the IMAGE.PCX file from the NOTES field, writing it to disk
    Sx_BLOB2File( "IMAGE.PCX", "NOTES" )


See Also: Sx_File2BLOB()

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