docs

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

WriteQueue

Writes an ordinary Clarion QUEUE as a TOML array of tables in queue order.

Clarion class declaration

WriteQueue PROCEDURE(STRING pArrayPath,*QUEUE pQueue),LONG

Purpose

Writes an ordinary Clarion QUEUE as a TOML array of tables in queue order.

Parameters

Parameter Type Description
pArrayPath STRING TOML array-of-tables path used for the QUEUE.
pQueue *QUEUE Ordinary Clarion QUEUE instance to write.

Return value

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

Example (Clarion)

Contacts QUEUE
Kind       STRING(20),NAME('contact_type')
Value      STRING(100),NAME('contact_value')
         END
RetCode  LONG

CODE
Toml.StartDocument()
RetCode = Toml.WriteQueue('contacts',Contacts)

Notes

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