_MemoSize( ) API Library Routine

See Also   Example

Returns the length of the specified memo field in the memo file for the current record.

Syntax

long _MemoSize(Locator FAR *fld)
Locator FAR *fld;            /* Memo field address. */

Remarks

When the memo field for the current record is empty, or when fld isn't a memo field, _MemoSize( ) returns a negative integer whose absolute value is a Visual FoxPro error number.

For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.