docs

Home Getting Started Browse by Category Class Methods Low-Level API

NewDocument

Creates a genuine empty in-memory TOML document and replaces any document already owned by the instance.

Clarion class declaration

NewDocument PROCEDURE(),LONG

Purpose

Creates a genuine empty in-memory TOML document and replaces any document already owned by the instance.

Return value

Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.

Example (Clarion)

RetCode LONG

CODE
RetCode = Toml.NewDocument()

Notes

Home Getting Started Browse by Category Class Methods Low-Level API