Control Structures
Boolean expressions, if-else and case-of branching, and the three kinds of loop Pascal gives you.
Articles
Boolean Expressions and Logical Operations in Pascal
Building a programming algorithm needs boolean expressions, and a boolean expression can be a logical operation or a comparison.
Branching with IF and ELSE Conditions in Pascal
This time we'll walk through branching conditions in Pascal using the IF ELSE keyword.
Loops with the FOR Loop in Pascal
In a FOR loop we tell the computer to run a statement a specific number of times, spelled out up front.
Loops with the WHILE DO Loop in Pascal
A WHILE DO loop is a Pascal loop that uses a boolean expression as the marker for repeating, and it keeps going as long as that condition is true.
Loops with the REPEAT UNTIL Loop in Pascal
A REPEAT UNTIL loop checks its condition at the end of the statement and keeps running as long as that condition is still false.
Branching with CASE OF in Pascal
CASE OF in Pascal is branching that uses a variable and its values to decide which condition applies.