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

  Syntax:   Sx_INIheader( <cHeaderName> [, <nArea>] )

         cHeaderName = The name of the section header within the .INI file
                       for which the information is to be retrieved.

               nArea = Optional workarea number whose .INI file is to be
                       accessed.  By default, the .INI file for the database
                       in the currently active workarea is assumed.

  Returns:  A two dimensional array containing the LeftValue and RightValue
            members from the specified section of the .INI file.

  Description:  See return value.

  Example:

    LOCAL aInfo := {}

    USE test VIA "SIXCDX"

    aInfo := Sx_INIheader( "USERINFO" )
    ? "User Name: " + aInfo[1,2]        // Assuming the first entry in the
                                        // USERINFO section held the user's
                                        // name

  NOTE:  All of the information from the .INI file is read into the array
         elements as character strings.  Any desired conversions to numeric,
         logical, etc. values would need to be handled by the developer.

         The .INI file can be encrypted using the Sx_Encrypt() function.
         Assuming the same password code is active, the SIx Driver will
         automatically decrypt it when it reads in the .INI file
         information.


See Also: _sx_INIinit() .INI Files The SXINIINFO Array

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