INI_SetKey

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > INI (Text INI Files) >

INI_SetKey

 

Description

 

Copies a string into the specified section of an initialization file.

 

Syntax

 

n = INI_SetKey(IniFileName, SectionName, KeyName, Value)

 

Returns

 

Number.

If the function successfully copies the string to the initialization file, the return value is nonzero.

If the function fails, the return value is zero.

 

Parameters

 

Name

Type

Optional

Meaning

IniFileName

String

No

Name of the INI file to load from

SectionName

String

No

Name of the section where KeyName is

KeyName

String

No

Name of the Key

Value

String

No

Value to assign to key

 

Remarks

 

Restrictions

 

See also

 

INI_GetKey

 

Examples