setGlobalVar

sets the value of a global variable in the app settings

Syntax

setGlobalVar(name, value)

Returns

boolean true on success

Parameters

name (string)
unique var name. Longer is better. Keep in mind these are used across multiple recipes.
value (string)
an user editable text

Usage

NOTE: this will only affect gvar.NAME on reload of the recipie