| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Saves the current document as a .toml file.
SaveFile PROCEDURE(STRING pFileName),LONG
Saves the current document as a .toml file.
| Parameter | Type | Description |
|---|---|---|
| pFileName | STRING | Path of the .toml file to load or save. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
RetCode LONG
CODE
Toml.StartDocument()
Toml.SetLong('application.refresh_minutes',15)
RetCode = Toml.SaveFile('settings.toml')
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |