This is an event handler on a “bevel button”
Sub Action(index as Integer) Handles Action
Select Case index // UNDEFINED OPERATOR : Type Integer does not define "=" with Type PAI
Case 0 : add_new_profile // THIS METHOD DOES NOT RETURN A VALUE
Case 1 : del_old_profile // THIS METHOD DOES NOT RETURN A VALUE
End Select
End Sub
- no, neither methods return a value, nor are they expected to
- There are no “pairs” in the app, so this makes no sense either
#2 also says the code line is
Select Case Select Case Index
which is clearly is not