Field-Map Scripting

4.4.3.11 LoadIntegerFromIniFile

LoadIntegerFromIniFile function


Prototype:

function LoadIntegerFromIniFile(const section, key: string; const INIFileName: string): variant;

Description:

This function is used to retrieve an integer value stored in an INI file.

Syntax:

variable := Project.LoadIntegerFromIniFile(Section,Key,INIFileName);







Part

Description

variable

A variable declared as a variant

Project

A reference to the Field-Map project as defined in Field-Map Project Manager

Section

A string reference to an INI file section delimited by square brackets

Key

A string reference to a property name in the specified INI file section

INIFileName

A string reference to the desired INI file stored in the project folder

Return value:

a variant value of an INI file property



See also:

DeleteFile; CreateDir; DeleteDir; GetFilesOfDir; OpenFileByWindowsAssociation; SaveStringToIniFile; SaveIntegerToIniFile; SaveDoubleToIniFile; SaveBooleanToIniFile; LoadStringFromIniFile; LoadIntegerFromIniFile; LoadDoubleFromIniFile; LoadBooleanFromIniFile; ExtractFilename; ExtractFilePath; FileExists; DirectoryExists