In languages like C++ I'm able to put code inside switches outside of cases, in ZScript this gets completely ignored
Code: Select all
// example: ('Print!' will not get printed)
void MyFunction()
{
switch (someinteger)
{
Console.Printf("Print!");
case 1: Stuff2Do(); break;
}
}
is this considered user error?