Writing Macros in the Code Editor

Navigation:  Macros > The Macros Editor >

Writing Macros in the Code Editor

Previous pageReturn to chapter overviewNext page

The Code Editor occupies the top left part of the macros editor.

 

As you type code, it is constantly parsed to identify keywords and literals which are then displayed using specific font attributes and/or colors, using syntax highlighting.

 

 

This highlighting scheme is as follows (otherwise noted, the font color is black) :

 

Keywords

Keywords are displayed in bold. This includes var, begin, end, if, endif, for, endfor, while, endwhile, break, continue.

compiler directives

Compiler directives are displayed in bold purple, on a gray background.

comments

Comments are displayed in italics and in green.

literals

Literals are colored according to their data type. Boolean are in bold gray, integers in red, and strings in blue.

 

The next sections cover the use of the code editor features to write code more efficiently.


Topic 108231 updated on 10-Feb-2019.
Topic URL: https://www.qppstudio.net/webhelp_xv4/index.html?writingmacrocode.htm