Item
CONTINUE
instruction
● Entered keywords are converted to uppercase letters automatically (AutoFormat). To disable
this function, clear the "Convert keywords to uppercase automatically (AutoFormat)" check box
in the Options window.
7.2.2 Commenting out Code in ST Program
In ST programs, code can be commented out. Program code that is commented out cannot be
executed.
Comment type
Single line
Multiple lines
WUME-GM1RTXOP-01
Example
iVar0 : = 0;
Label1 : iVar0 : = iVar0 + 1;
IF (iVar1 = 5) THEN
JMP Label1;
END_IF;
The CONTINUE instruction is used to move control to the beginning of the loop within the
FOR, WHILE, or REPEAT instruction.
Description
Program code from // to the end of the line is treated as a comment.
Example:
bVar1 := 2; // Single-line comment
Program code from (* to *) is treated as a comment. (* *) can also be inserted into
another comment enclosed between (* and *).
Example:
(*
Multiple-line comment 1
Multiple-line comment 2
*)
7.2 Programming in Structured Text (ST)
7-17