Yep that is right.
With the cases you can also do ranges:
Code:
new temp
switch (temp)
{
case 1 .. 5:
{
// do something
}
default:
{
// do something else
}
}
// You can also do
new temp[12] = "hello world"
switch (temp[0])
{
case 'h':
{
// do something
}
}
__________________