// referencing a boolean variable in an if
if ( whether ) makeDate();
if ( ! whether && done() ) finish();