docs

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

SaveMemo

Saves the complete document into a selected Clarion MEMO field without clipping the document.

Clarion class declaration

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

Purpose

Saves the complete document into a selected Clarion MEMO field without clipping the document.

Parameters

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

Return value

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

Example (Clarion)

RetCode LONG

CODE
! DMO:TomlMemoIndex is the negative property index for the MEMO.
RetCode = Toml.SaveMemo(DemoFile,DMO:TomlMemoIndex)
IF RetCode = ProTOML:OK
  PUT(DemoFile)
END

Notes

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