August 2000
Intermediate to advanced
800 pages
13h 15m
English
True and False
The if Statement
The ? Operator
The switch Statement
Loops
The while Statement
The break Statement
The do...while Statement
The for Statement
The foreach Statement
exit, die, and return
Evaluation of Boolean Expressions
Control statements allow you to execute blocks of code depending on conditions. They also allow you to repeat a block of code, which leads to simpler, more efficient scripts. This chapter will introduce you to the decision-making statements if and switch. You will also learn about loops using for and while.
Read now
Unlock full access