
User Manual
Appendix H
GFK-1742F
Jan 2020
Using VersaPro with the DSM314
484
H-6.1
Checking Local Logic Syntax
To check the language syntax in VersaPro, select Folder from the main menu, then the
submenu Check Block ‘LLExample’. This causes the syntax check routines to run on the
specified Local Logic program. Note: To check all the blocks within the folder, select Check
All. (Figure 245.)
Figure 245: LLExample Syntax Check Command
Checking the blocks causes the information window to appear if it was not previously
displayed. Note the Information window can be toggled on and off by pressing the
information toolbar icon.
The information window displays the output of the syntax check operation. If the sample
program has been entered correctly, you should receive a message indicating zero errors
and zero warnings.
If the information window indicates a syntax error has occurred, you can scroll the
information window to the line that contains the error message. While the information
window has focus, double click the error message. This causes the editor window to
automatically go to the line within the program that caused this error. For example, if in the
example
program
you
incorrectly
typed
“First_Local_Logic_Sweep”
as
“First_Local_Logic_Swee” a syntax error will be generated. As follows:
You can then go to the error message in the information window and double click the line.
The Local Logic editor automatically goes to the beginning of the line that caused the error
message so the user can fix the error.