User`s guide
Using the SEE Editor
The following sections give a brief overview on using the SEE editor. For more details, see
The SEE Editor and Debugger on page 61.
Entering New Lines of Code
Once you have opened the editor and moved to insert or replace mode, you can begin
entering lines of code. Each complete line of code needs to be terminated with a carriage
return. If a line of code exceeds the monitor line width, the editor wraps the code to the next
line and temporarily overwrites the next line. Do not enter a carriage return until you have
typed the complete line of code.
When you press the return key after completing a line of code, the SEE editor automatically
checks the syntax of the line. Keywords are checked for proper spelling, instructions are
checked for required arguments, parentheses are checked for proper closing, and the line is
checked to make sure the V+ system is able to execute the line of code. (Remember, this
check is solely for syntax, not for program logic.)
If the program line fails the syntax check, the system places a question mark (?) at the
beginning of the line (and usually displays a message indicating the problem). You do not
have to correct the line immediately, and you can exit the editor with uncorrected program
lines. You will not, however, be able to execute the program.
Exiting the Editor
To complete an editing session and exit the editor, press the Exit (F4) key on a graphics-
based system.
If your program is executable, you are returned to the system prompt without any further
messages.
If any lines of code in the program have failed the syntax check, the status line displays the
message:
*Program not executable* Press RETURN to continue.
Pressing ↵ returns you to the system prompt.
You may also get the message:
*Control structure error at step xx*
This indicates that a control structure (described in Program Control on page 117) has not
been properly ended. Pressing ↵returns you to the system prompt, but the program you
have been editing will not be executable.
You cannot exit the editor with lines in the copy buffer. To discard unwanted lines:
Using the SEE Editor
(Undefined variable: Primary.Product_Name_V)Language User's Guide, version
17.x
Page 31










