[Next]
[Up]
[Previous]
Next:
Resolution
Up:
Basic concepts
Previous:
Loops
Conditionals
The conditional statement of the form
if(cond) block1 else block2
executes
block1
if
cond
is true, and
block2
if cond is false. The evaluation of the condition takes exactly zero time.
Ken McMillan
Fri Nov 6 22:15:28 PST 1998