Changes for page SetVar
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
>
edited by Outhman Moustaghfir
on 2024/01/22 10:18
on 2024/01/22 10:18
edited by Outhman Moustaghfir
on 2024/01/22 10:28
on 2024/01/22 10:28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -17,7 +17,6 @@ 17 17 * **value**: (Type: any) The value to assign to the variable. 18 18 * **global**: (Type: boolean, Optional) Specifies whether the variable is global or local. Defaults to False. 19 19 20 - 21 21 === Usage === 22 22 23 23 ==== Example 1: Setting a Local Variable ==== ... ... @@ -47,3 +47,7 @@ 47 47 {{/code}} 48 48 49 49 **variable_name**: The name of the variable whose value you want to retrieve. 49 + 50 +=== Note === 51 + 52 +If global is set to true, the variable will be considered global. Omitting the global parameter or setting it to false makes the variable local.