The END statement closes a block of commands started with a block IF or with a loop command (FOR, DO, WHILE, FOREVER).
END
IF