Home -> Getting Started -> Control

Wikipages about program control

There are two main types of program control. Click on link to go to the wikipage you want.

Loops allow for blocks of code to be repeated using either counters and for loops or conditionals and while loops.

if..else.. statements use conditionals to control whether a block of code is evaluated or not.

Remember: conditionals are boolean (true/false) objects.

Keywords: sage, control, loops, conditionals, conditions, if, else, while, for, repeating