I'm converting some Visual Basic code (to read EXIF information in image files) to PB and I ran into this minor annoyance. In VB, the Case statement (in a Select Case) can have multiple expressions, as in:
Code: Select all
Select Case Var
Case 1,3,5
.
.
Case 16,20,32
.
.
End Select
In PB, I have to repeat whole blocks of code to get the same result. I know I can use multiple If - ElseIf statements in PB, put this would be a handy addition to the PB Select statement, if it isn't too hard to implement.