This final section of the chapter on the Q++Studio macros language reference is purely optional and deals with more technical "under the hood" issues presenting the compiled code that is the result of compiling macros.
When you generate a diary whose grids contains macro tokens, that macro code is not executed directly; a compiled form of that code is used.
![]() compiled code in the macros editor |
![]() compiled code in the macros debugger |
This code can be seen in the macros editor, and in the macros debugger (it is displayed on a dark blue background).
The next sections will discuss this compiled code.
The macro compiler produces an initial RAW representation, which Q++Studio then processes into the ASM representation.
•RAW uses function names and symbolic branch instructions.
•ASM replaces function names with internal identifiers, adds calculated jump offsets, and includes additional execution metadata.
The examples in this section identify which representation they show. Internal function identifiers change whenever a built-in function is added, which requires existing macros to be recompiled. When comparing these examples with your own ASM output, use the function names in the accompanying comments rather than the identifiers.
See also: relating source and compiled code.
Topic 108169, last updated on 09-Oct-2026