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
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |