| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Writes a flat Clarion GROUP to a TOML table using field labels or NAME attributes as keys.
WriteGroup PROCEDURE(STRING pTablePath,*GROUP pGroup),LONG
Writes a flat Clarion GROUP to a TOML table using field labels or NAME attributes as keys.
| Parameter | Type | Description |
|---|---|---|
| pTablePath | STRING | TOML table path used for the mapped GROUP or RECORD. |
| pGroup | *GROUP | Ordinary Clarion GROUP instance to write. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
AppSettings GROUP
AppName STRING(80),NAME('application_name')
Refresh LONG,NAME('refresh_minutes')
END
RetCode LONG
CODE
Toml.StartDocument()
RetCode = Toml.WriteGroup('application',AppSettings)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |