What are macros?

Macros are reusable functional blocks, which can be referenced from other macros, or used in conditional expressions in compositions or triggers. They have a double-sided nature:

  • On the one hand, they can contain Boolean operations (equals, string-starts-with, and so on) and grouping operators (and, or, not), and thus as a whole evaluate to either "true" or "false".

  • On the other hand, they can also contain (global) variable assignments or deletions, and as such have a procedural character.

In VIA, macros are modeled as condition tree structures, with individual nodes being either Boolean operators (such as equals or and) or procedural elements (such as assign or delete). For more about SIS Macros generally, see Macros in the SIS Overview and Concepts document.

Viewing macros in VIA

Each project shown in the SIS View contains a macros category, which lists all SIS macro diagrams in the project.

Previous page Next page