cache_post()

Purpose

Adds a record to the cache

Syntax

BOOLEAN cache_post(short * datarec);

Parameters

short * datarec

Pointer to the record to be added

Description

The cache_post() function is called to add data to the cache. Note that you may do either of the following:

  • Repost changed data to the cache
  • Change the record length

Return values

Returns TRUE if the record is added to the cache and FALSE otherwise

Example

See the example for the cache_find() function