[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    IniSearch()

         Searches for an item in a configuration file .INI

    Syntax:

         IniSearch( aIniFile, cItem, cDefault ) -> cValue

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

    Description:

         Returns the item's value in the setup file or the cDefault
         value if cItem isn't found.

         cItem must be in Uppercase.

    Return:

         The value of cItem or the default value.

    Example:

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

See Also: IniWrite() IniSave() IniLoad()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson