ReadPreferenceInteger()
语法
Result = ReadPreferenceInteger(Key$, DefaultValue)概要
Try to read the specified associated 'Key$' value.
参数
Key$ The key to read the value from. If PreferenceGroup() has been used, then the search is restricted to the current group. DefaultValue The default value to return if the key isn't found or the preference file haven't been opened correctly (file missing for example).
返回值
The value associated to the specified key, as an integer number. if the key isn't found the default value is returned.
参阅
ReadPreferenceDouble(), ReadPreferenceFloat(), ReadPreferenceLong(), ReadPreferenceQuad(), ReadPreferenceString()
已支持操作系统
所有