int Ini_ItemExists (IniText handle, const char sectionName[], const char tagName[]);
Determines if the item specified by tagName exists in the section identified by sectionName, or if there are items having tag names of the form
<Tag Name> Line 0001
<Tag Name> Line 0002
<Tag Name> Line 0003
in the section identified by sectionName. The latter case indicates that the item specified by tagName was split across several lines.
![]() |
Note This function should be used instead of the obsoleted function Ini_ItemOrMultiLineItemExists. |
Input | ||
Name | Type | Description |
handle | IniText | A handle returned from Ini_New. It represents the list of in-memory tag/value pairs. |
sectionName | const char [] | The section name under which to find the tag/value pair. |
tagName | const char [] | The tag name in the tag/value pair. |
Name | Type | Description |
itemExists | integer | Indicates if the item specified by tagName exists in the section identified by sectionName. If the item exists, a 1 is returned. If the item exists, a 0 is returned. |