CACHEDELETE

The CACHEDELETE function is same as CACHEREAD. This function returns a default value for cache variable if specified, or an empty value if the cache variable has not been defined.

Syntax:
CACHEDELETE (single-text-expression [, single-text-expression])
Meaning:
CACHEDELETE (variable_name [, default_value])
Returns:

A single text item if found, otherwise none.

Examples

  • flowlib->CACHEDELETE (“Greeting”)

    Deletes cache variable, Greeting, and returns empty (NONE).

  • flowlib->CACHEDELETE (“Greeting”, “Hi”)

    Deletes cache variable, Greeting, and returns default value (Hi).