Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>inisearch()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    IniSearch()

         Searches an item in a configuration file .INI

    Syntax:

         IniSearch( aIniFile, cItem, cDefault ) -> cValue

         aIniFile : An array with the information about the .INI file
         cItem    : Item to search
         cDefault : Default value if item is not found

    Description:

         Returns the item's value on the setup file or the cDefault
         value if cItem isn't found.
         It's important to detail that cItem must be wrote in capitals.

    Return:

         The value of cItem or the default value.

    Example:

         cValue := IniSearch ( aIniFile, "CPUTYPE", "386sx" )

See Also: IniWrite() IniSave() IniLoad()

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