docs

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

SetBool

Stores a Clarion BYTE value as a TOML Boolean.

Clarion class declaration

SetBool PROCEDURE(STRING pKeyPath,BYTE pValue),LONG

Purpose

Stores a Clarion BYTE value as a TOML Boolean.

Parameters

Parameter Type Description
pKeyPath STRING Dotted or indexed TOML key path.
pValue BYTE Value to store at the specified TOML key path.

Return value

Returns a Clarion BYTE result as described above.

Example (Clarion)

RetCode LONG

CODE
Toml.StartDocument()
RetCode = Toml.SetBool('application.auto_save',1)

Notes

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