Config()

<< Click to Display Table of Contents >>

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

Config()

Description

Looks up an *.INI file value.

 

Type

REGULAR FUNCTION

 

Usage

Result = Config(File, Section, Key)

 

File

STRING

What file to look in. If the 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.

Key

STRING

Key name.

Result

STRING

If value is found it is returned as a string.

NIL

If value is not found, a NIL is returned.

 

Related Topics