Source Windows
Source windows display source code for the programs you develop. These windows behave like standard text editors. Source windows contain a context menu that provides additional options not available through menus. You can insert text into Source windows in the following ways:
- Type text directly into a Source window.
- Load text from an ASCII file.
- Insert code from function panels directly into Source windows.
- Drag and drop text into the Source window from the current Source window, another Source window, or other applications.
You also can drag text from the Source window into different LabWindows/CVI environment windows.
- Drag code into a Watch window to add a watch expression.
- Drag variables into the Graphical Array View, Array Display, and Memory Display windows.
- Drag code into the Interactive Execution window.
You can save a program from a Source window as an ASCII file. Source windows can contain up to one million lines with up to 1,020 characters on each line. A tab is one character for the purpose of line length limitation.
When you run or build a program in a Source window, the program must be complete and obey the syntax rules of ANSI C.