When you need some help writing Macros, make sure you use Q++'s Intellingent Help for Macros. Intelligent help means that when you press F1 to invoke help, Q++ looks at the word currently under your cursor, and displays the appropriate help topic.
Examples of help topics displayed depending on the word under the cursor :
•var invokes Variables.
•begin or end invokes The Instructions Block.
•for or endfor invokes The FOR Keyword.
Note that whenever a list of variables or functions is diplayed by code completion, you can select an element of the list and press F1 to get help on any of the functions, before making your selection.