|
<< Click to Display Table of Contents >> END |
![]() ![]()
|
An END statement concludes a BLOCK, FOR (loop), IF/ELSEIF/ELSE (condition) or FUNCTION/PROCEDURE statement. Gekko will fail if the END statement is missing.
To execute for instance a loop in the statement window, it is often convenient to use [Ctrl+Enter] for newlines, and then execute all the lines as a unified block by means of marking all the relevant lines and hitting [Enter]. In that case, the lines are executed in the same way as using a Gekko program file.
BLOCK, FOR, IF, FUNCTION, PROCEDURE