Code: Select all
+ if
| ...
+ elif
| ...
- end if
Code: Select all
+ if
| ...
+ elif
| ...
- end if
take for example a simple shell scriptfolding of middle parts - is unusual
Code: Select all
if [ $this ]; then
pwd
elif [ $that ]; then
date
else
ls -la
fi
Code: Select all
if x = 1 then
Do something
elif x= 2 then
Do something else
else
Do this
end
Code: Select all
if x = 1 then
elif x= 2 then
else
end