What you are saying by omitting an else-clause from an if or if-elsif statement is that either it cannot possibly happen or it does not matter that the conditional test or tests all fail. If this is true, you need no else-clause.
If the conditional tests can all fail and this makes a difference, then you need an else-clause.
In reply to Re: if-elsif-else (?)
by AnomalousMonk
in thread if-elsif-else (?)
by rnaeye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |