SaveBooleanToIniFile procedure
Prototype: |
procedure SaveBooleanToIniFile(const section, key: string; value: variant; const INIFileName: string); |
|
Description: |
The SaveBooleanToIniFile procedure is used for saving logical values which need to remain persistent after Field-Map has been closed. If the specified sections and/or keys do not exist, they will be created in the INI file. If an empty INIFileName parameter is given, values will be stored in the default INI file "Project.ini". Note: To pass data between scripts at runtime, use global variables instead. |
|
Syntax: |
Project.SaveBooleanToIniFile(Section,Key,Value,INIFileName); |
|
Part |
Description |
|
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 |
|
Value |
A reference to the value part of the specified key in the INI file |
|
INIFileName |
A string reference to the desired INI file stored in the project folder |
|
Return value: |
none |
|
See also:
DeleteFile; CreateDir; DeleteDir; GetFilesOfDir; OpenFileByWindowsAssociation; SaveStringToIniFile; SaveIntegerToIniFile; SaveDoubleToIniFile; SaveBooleanToIniFile; LoadStringFromIniFile; LoadIntegerFromIniFile; LoadDoubleFromIniFile; LoadBooleanFromIniFile; ExtractFilename; ExtractFilePath; FileExists; DirectoryExists
© 2024 IFER-Monitoring and Mapping Solutions