END

 

Introduction

An END statement concludes a FOR (loop) or IF (condition) statement. Gekko will fail if the END statement is missing.

 

To execute a loop in the command window, it is often convenient to use Ctrl+Enter for newlines, and then execute the lines as a block by means of marking all the relevant lines and hitting [Enter]. In that case, the lines are executes in the same way as using a command file.

 

 

Related

commands

FOR, IF