setprofilestring PowerHome formula function
Description
Creates or modifies a value within an INI file.
Syntax
setprofilestring ( filename, section, key, value )
Argument |
Description |
filename
|
A string containing the full path and filename of the INI file. If you don't include the full path, then PowerHome searches the path for filename.
|
section
|
A string containing the section to modify. If section does not exist, PowerHome will create it.
|
key
|
A string containing the key within a section to modify. If key does not exist, PowerHome will create it.
|
value
|
A string containing the value you wish assigned to the key.
|
Return value
Integer. Returns 1 if successful and - 1 if the filename cannot be found or accessed.