docs

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

WriteRecord

Writes the current Clarion FILE record buffer to a TOML table.

Clarion class declaration

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

Purpose

Writes the current Clarion FILE record buffer to a TOML table.

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

Notes

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