Settings

Choose language

end

end
Terminates execution of the code.

Usage


Sometimes when you code a big pattern, and change the code later on, some parts of it may stop working and it is difficult to guess exactly which ones. In this case you may either comment pieces of codes (but you would have to uncomment them later) or simply write end anywhere in the code. The software will execute all functions above end and will not even consider whatever is written below. Warning - watch the loops and if constructs when putting end in the middle of them, so that the structure is well closed by the {} brackets.

Previous article

info (objects, strings, variables)

Back to category

Programming

Next article

no (variable or object)