An if ...elsif ... elsif ... else statement looks like this:
Notice the location of the curly braces. Good luck.if (condition1) { code block } elsif (condition2) { code block } elsif (condition3) { code block } else { code block }
In reply to Re: using if-elsif-else
by MonkE
in thread using if-elsif-else
by thevoid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |