C
Cor Ligthert
Hi Mahahiro,
Maybe I miss something and although I don't find it the nices instruction,
this should shorten your code in my opinion.
\\\
If Staff.Count = 10 or Staff.Count = 15 or Staff.Count = 23 or
Staff.Count = 14 Then
Console.writeline(Staff.Count.tostring)
End If
///
with select
\\\
Select Case Staff.Count
Case 10,15,23,14
Console.writeline(Staff Count.toString)
' any other instruction
End Select
////
However when I see something wrong, tell me?
Cor
Maybe I miss something and although I don't find it the nices instruction,
this should shorten your code in my opinion.
\\\
If Staff.Count = 10 or Staff.Count = 15 or Staff.Count = 23 or
Staff.Count = 14 Then
Console.writeline(Staff.Count.tostring)
End If
///
with select
\\\
Select Case Staff.Count
Case 10,15,23,14
Console.writeline(Staff Count.toString)
' any other instruction
End Select
////
However when I see something wrong, tell me?
Cor