CACHEWRITE

The CACHEWRITE function sets a new or updates an existing cache variable in the cache.

This function specifies the name of a cache variable if one does not already exist. Otherwise, it updates the value of an existing cache variable with the new value. The value associated to a cache variable is a text expression and returns the new value to the map. Empty value skips creating or updating of a cache variable.

Syntax:
CACHEWRITE (single-text-expression, single-text-expression)
Meaning:
CACHEWRITE (variable_name, variable_value)
Returns:
A single text item.

Examples

  • flowlib->CACHEWRITE (“Greeting”, “Hello”)

    Writes a cache variable, Greeting, in the cache with Hello and returns Hello