docs

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

ProTOML - Introduction

ProTOML makes TOML easy to use from normal Clarion applications.

The global template supplies the high-level Toml object used by the examples and demo programs. The wrapper handles the ordinary work, so most developers can use simple calls such as WriteGroup, WriteRecord, WriteQueue, SaveMemo, and LoadMemo. Ordinary GROUP, QUEUE, and FILE RECORD declarations work without the BINDABLE attribute.

Highlights

A small example

Toml.StartDocument()
Toml.WriteGroup('settings',AppSettings)
Toml.WriteQueue('contacts',ContactQueue)

The same document can be displayed, edited, stored with an existing record, saved as a .toml file, or exchanged with software written in other modern languages.

Getting started

Begin with Installation, then review:

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