Skip to main content

Name

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

Synopsis

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; .

Description

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

Was this page helpful?