docs

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

SaveBlob

Serializes the complete document as exact UTF-8 bytes into a selected Clarion BLOB field.

Clarion class declaration

SaveBlob PROCEDURE(*FILE pFile,LONG pFieldNumber),LONG

Purpose

Serializes the complete document as exact UTF-8 bytes into a selected Clarion BLOB field.

Parameters

Parameter Type Description
pFile *FILE Clarion FILE that owns the selected BLOB field.
pFieldNumber LONG Negative FILE property index for the target BLOB field.

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.SaveBlob(DemoFile,DMO:TomlBlobIndex)
IF RetCode = ProTOML:OK
  PUT(DemoFile)
END

Notes

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