Enter the program code that you created for states, state machines, or transitions in the code view tabs.

A separate tab is created for each state. Libraries, local variables, or global variables are also defined in a separate tab in the code view.

Each code view tab contains an editor that supports the PAscript syntax.

You can arrange the individual tabs in the code view into tab groups. You can undock individual tabs as a separate window to position the tabs freely on a monitor. However, it is not intended to pull out individual tabs from the code view.

Figure 67. Code View with Vertical Tab Groups

Display the code view by selecting View » Code view.

Note Like PAscript Editor, when you leave a line, the code of that line is compiled. Errors or warnings that are found are immediately written to the message window. Therefore, a separate compilation of the code is no longer required.