LabWindows/CVI

Inserting C Constructs in Source Code

The Insert Construct command has a submenu for code snippets and function documentation tags. Code snippets contain various programming constructs, such as main functions, conditional expressions and loops. Use this command to insert a construct into your Source window at the current keyboard cursor position.

When you insert a construct into your program, the keyboard cursor moves to the first location in the construct where you can enter text.

You can set the location of the curly brackets in the construct by selecting a bracket style in the Formatting Options dialog box or the Formatting Options (Legacy) dialog box.