SetConfig()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Input and Output functions >

SetConfig()

Description

Write a value to an *.INI file.

 

After the write there is an entry in the *.INI file of the form:

 

[Section]

Key=Text

 

Type

REGULAR FUNCTION

 

Usage

SetConfig(File, Section, Key, Text)

 

File

STRING

What File to write to. If File doesn't have a path, the system looks for it in the same directory that contains the Gamry.INI file (typically C:\Documents and Settings\All Users\Application Data\Gamry Instruments\Framework\)

Section

STRING

Section name within File.

Key

STRING

Key name.

Text

STRING

Value to write.

NIL

Delete the Key from the *.INI file.

 

Related Topics