Code Structure

Navigation:  Appendices > Macro Language >

Code Structure

Previous pageReturn to chapter overviewNext page

In the previous sections we began our study of the Q++ Macro Language by looking at the type of data which can be used, then we saw how variables can be used to store this data (or values), and we then saw how operators can be used to obtain a value from a combination of literals and variables.

 

Macros are made up of 2 compulsory, and 3 optional, blocks of instructions.

 

 Compiler Directives (optional)

 Global (optional)

 Input (optional)

 Var

 Instructions Block

 

Note that when any of the optional block do appear, they must appear in the above order.


Topic 108109 updated on 01-Nov-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?codestructure.htm