int Ini_SetTokens (IniText handle, char sectionNameStartCharacter, char sectionNameEndCharacter, const char valueSeparator[], const char commentMarker[]);
This function specifies the tokens used as delimiters in the text representation of the sections headings and tag/value pairs.
If you do not call this function, the default tokens are:
Section Name Start Character | "[" |
Section Name End Character | "]" |
Value Separator | "=" |
Comment Marker | ";" |
Input | ||
Name | Type | Description |
handle | IniText | A handle returned from Ini_New. It represents the list of in-memory tag/value pairs. |
sectionNameStartCharacter | char | The character used to delimit the start of a section name. Pass 0 to leave the current delimiter unchanged. |
sectionNameEndCharacter | char | The character used to delimit the end of a section name. Pass 0 to leave the current delimiter unchanged. |
valueSeparator | const char [] | The string used to separate item tag names from values. Pass 0 to leave the current delimiter unchanged. |
commentMarker | const char [] | Pass the string used to mark the beginning of a comment line. Pass 0 to leave the current delimiter unchanged. |
Name | Type | Description |
status | integer | This function always returns 0. |