There is no "default" command.
... Actually, I just tested this. The switch command does indeed allow an else clause.
The fact that switch supports else was missing from the documentation. I updated the docs to mention it.
... Actually, I just tested this. The switch command does indeed allow an else clause.
Code:
switch(foo) do(
case(1) do(some action)
case(2) do(some other action)
case(5) do(yet another action)
else(alternative action)
)
case(1) do(some action)
case(2) do(some other action)
case(5) do(yet another action)
else(alternative action)
)
The fact that switch supports else was missing from the documentation. I updated the docs to mention it.
So... any plans to allow the correct keyword to be used?
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks



