Материал из Module developer
module.SetVariable
Setting the global variable
Синтаксис
module.SetVariable(Path.Name, Value)
| Название | Пример | Описание |
| Path | Tokens | type: string shows a path to the variable and its type:
|
| Name | "Name" | type: string Variable name |
| Value | 1 | type: string, number Setting the value |
| На выходе |
-
Пример
module.SetVariable("Global.Name", "Name")
