docs

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

ReadRecord

Reads a TOML table into the current Clarion FILE record buffer.

Clarion class declaration

ReadRecord PROCEDURE(STRING pTablePath,*GROUP pRecord),LONG

Purpose

Reads a TOML table into the current Clarion FILE record buffer.

Parameters

Parameter Type Description
pTablePath STRING TOML table path used for the mapped GROUP or RECORD.
pRecord *GROUP Named FILE RECORD buffer passed as a GROUP.

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.ReadRecord('customer',CUS:Record)

Notes

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