cache

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
1093
1094
1095
1096
1097
1098
<macro name="cache" parameters="var" dot_parameter="value">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.global_is_var_set
Binary
Namespace: BasicNamespace
Parameters: name
 name="[n.var/]">
        <then.global_set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
 name="[n.var/]" value="[n.value/]" />
    </n.if.not.global_is_var_set>
    <n.global_var
Binary
Namespace: BasicNamespace
Parameters: name
 name="[n.var/]"/>
</macro>