Skip to content

Commit 62e4edd

Browse files
blackwinterTobiasNx
andcommitted
Update README.md (#243)
Co-authored-by: Tobias Bülte <[email protected]>
1 parent 1d06fef commit 62e4edd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,12 @@ end
657657

658658
Defines a named macro, i.e. a list of statements that can be executed later with the [`call_macro`](#call_macro) function.
659659

660+
Variables can be referenced with `$[<variableName>]`, in the following order of precedence:
661+
662+
1. "dynamic" local variables, passed as options to the `call_macro` function;
663+
2. "static" local variables, passed as options to the `do put_macro` bind;
664+
3. global variables, defined via [`put_var`](#put_var)/[`put_vars`](#put_vars).
665+
660666
Parameters:
661667

662668
- `name` (required): Unique name of the macro.

0 commit comments

Comments
 (0)