ini_read_real(section,key,default)
Jump to navigation
Jump to search
Description
Reads a number value from the currently opened ini file with the given key name in the given section and returns the result.
Parameters
Parameter | Data Type | Description |
---|---|---|
section | string | the name of the section to find the key in |
key | string | the name of the key |
default | integer | the default value to return if the key can not be found |
Return Values
integer: Returns the number value read from the currently opened ini file, default value is returned if the key is not found.
Example Call
// demonstrates reading a number value from an ini file
var val;
val = ini_read_real("sectionname", "keyname", 50);