docs

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

SetLong

Stores a Clarion LONG as a TOML integer.

Clarion class declaration

SetLong PROCEDURE(STRING pKeyPath,LONG pValue),LONG

Purpose

Stores a Clarion LONG as a TOML integer.

Parameters

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

Return value

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

Example (Clarion)

RetCode LONG

CODE
Toml.StartDocument()
RetCode = Toml.SetLong('application.refresh_minutes',15)

Notes

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