|
int/string = GetProfileVal(section, entry
, defValue
, iniName
) Retrieves entries from a windows INI file. This method encapsulates GetProfileString, GetProfileInt, GetPrivateProfileString and GetPrivateProfileInt.
Parameterssection : string
The section in the INI file to retrieve a value for.entry : string
The entry within the section in the INI file to retrieve a value for.defValue : int/string
The default value. The type of this parameter determines the methods return type.iniName=None : string
The name of the INI file. If None, the system INI file is used.
Win32 API ReferencesGetProfileString
GetProfileInt
GetPrivateProfileString
GetPrivateProfileInt
Return ValueThe return value is the same type as the default parameter.
|