March 26, 2020


msys.policyeditor.set_variable — Set the value of a script variable


msys.policyeditor.set_variable(ctx, vars, params);

ctx: table
vars: table
params: table

**Configuration Change. ** This function is deprecated. You can easily set a Lua variable as follows: local x = y; .


Set the value of a script variable

The ctx parameter is the context containing objects from the callout, vars is a table containing script variables and params is a table containing parameters to be passed to this routine.

Defined parameters for params are:

  • name the name of the variable to be set

  • value the value to set the variable to

See Also

msys.policyeditor.get_variable, “Using Variables”