SnippetContext.setVariable

void setVariable(string key, string value) nothrow

Sets a variable within the context.

This variable may be overridden by future updates to the context.

Parameters

keythe variable name
valuethe value for the variable