| comnik.inimod: | Functions | Types | Modinfo | Source |
The author Nikolas Göbel has To be by name mentioned."
| AddField | Adds a new field to the .ini File. |
| AddKey | Adds a new key + it's value to the .ini File. |
| GetFloat | Reads a specified value from the .ini file and wraps it into a float variable. |
| GetInt | Reads a specified value from the .ini file and wraps it into a integer variable. |
| GetValue | Reads a specified value from the .ini file. |
| OpenIni | Opens a .ini File. |
| SaveIni | Saves the .ini File. |
| SetKeyValue | Sets the Value of a speciefied key in the .ini File. |
| TIni | INI Class. |
| Function AddField:Byte(ini:TIni,name:String) | |
| Returns | True, if succesfull. |
| Description | Adds a new field to the .ini File. |
| Function AddKey:Byte(ini:TIni,_field:String,name:String,_value:String="") | |
| Returns | True, if succesfull. |
| Description | Adds a new key + it's value to the .ini File. |
| Function GetFloat:Float(ini:TIni,_field:String,_value:String) | |
| Returns | A 'Float' variable. |
| Description | Reads a specified value from the .ini file and wraps it into a float variable. |
| Information | The 'data' array is searched for the given value. |
| Function GetInt:Int(ini:TIni,_field:String,_value:String) | |
| Returns | A 'Int' variable. |
| Description | Reads a specified value from the .ini file and wraps it into a integer variable. |
| Information | The 'data' array is searched for the given value. |
| Function GetValue:String(ini:TIni,_field:String,_value:String) | |
| Returns | A 'String' variable. |
| Description | Reads a specified value from the .ini file. |
| Information | The 'data' array is searched for the given value. |
| Function OpenIni:TIni(filename:String) | |
| Returns | A TIni Object Handle. |
| Description | Opens a .ini File. |
| Information | A .ini File is opend And it's value is stored in the 'data' array. |
| Function SaveIni:Byte(ini:TIni) | |
| Returns | True, if succesfull. |
| Description | Saves the .ini File. |
| Information | Use this Function after all changes to the .ini File are done. |
| Function SetKeyValue:Byte(ini:TIni,_field:String,_key:String,_value:String="") | |
| Returns | True, if succesfull. |
| Description | Sets the Value of a speciefied key in the .ini File. |
| Information | Searchs the .ini Fiel for the given key. - And sets it's Value. - If the given key DOESE'NT exists, it'll be created. - If the key-value already EXISTS, the value 'll be overwritten. - If no key is given, a new key with value = 0 'll be created. |
| Type TIni | |
| Description | INI Class. |
| Information | Contains the data array for *.ini files. |
| Description | With this INI Module, you'll be able to parse and write .ini Files in a very Easy Way! |
|---|---|
| Version | 1.0 |
| Author | Nikolas Göbel |
| License | Freeware |
| Copyright | Nikolas Göbel |