Pascal Scripting: GetIniInt

Prototype:

function GetIniInt(const Section, Key: String; const Default, Min, Max: LongInt; const Filename: String): LongInt;

Description:

Reads a LongInt from an INI file. If the LongInt read is not between Min/Max then it returns Default. If Min=Max then Min/Max are ignored.