You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if k < 25 then
# ...
else if k < 40 and arg == 0 then
# ...
else
# ...
end
With this:
if k < 25 then
# ...
else
if k < 40 and arg == 0 then
# ...
else
# ...
end
end
Yow! Bash definitely gets that right with elif. And also case.
I don't know if case or match or cond is better, but I fervently believe that elif needs to be added. Wow, is it painful to statically nest if/else blocks!
The text was updated successfully, but these errors were encountered:
I wholeheartedly agree. This is surely a high priority feature, and it has been discussed before in #12 . Although implementing it should be fairly easy, I'm struggling to find the time to do it recently.
Just fixed a syntax error by replacing this:
With this:
Yow! Bash definitely gets that right with
elif
. And alsocase
.I don't know if
case
ormatch
orcond
is better, but I fervently believe thatelif
needs to be added. Wow, is it painful to statically nest if/else blocks!The text was updated successfully, but these errors were encountered: