| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Serializes the current document into a caller-supplied Clarion CSTRING using the ANSI compatibility path.
SaveText PROCEDURE(*CSTRING pTomlText),LONG
Serializes the current document into a caller-supplied Clarion CSTRING using the ANSI compatibility path.
| Parameter | Type | Description |
|---|---|---|
| pTomlText | *CSTRING | Complete TOML document text. |
Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.
TomlText CSTRING(8192)
RetCode LONG
CODE
Toml.StartDocument()
Toml.SetString('application.name','PageSnip')
RetCode = Toml.SaveText(TomlText)
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |