Jump to content

RwIniClose

From EDM2
Revision as of 22:17, 30 May 2019 by Martini (talk | contribs) (Created page with "Closes the specified handle by writing any changes back to file then freeing the memory it used. After this call the handle is no longer valid. ==Syntax== rc = rwIniClose(ha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Closes the specified handle by writing any changes back to file then freeing the memory it used. After this call the handle is no longer valid.

Syntax

rc = rwIniClose(handle [, option])

Parameters

Option
The only option available is 'N' or 'n' for "no-save". If specified, any changes to the file will not be saved. Additionally, if this file wasjust created by your script's call to rwIniOpen(), it will be deleted.

Returns

Returns a null string for success and 'ERROR:' for failure.