Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.29 KB | None | 0 0
  1. Sub lol()
  2. Dim nr As Integer
  3. nr = ThisDrawing.Utility.GetInteger("1/2/3")
  4. Select Case nr
  5. Case 1
  6. a
  7. Case 2
  8. b
  9. Case 3
  10. c
  11. Case Else
  12. MsgBox "Nie wybrano"
  13. End Select
  14. End Sub
  15. Function a()
  16. MsgBox "a"
  17. End Function
  18. Function b()
  19. MsgBox "b"
  20. End Function
  21. Function c()
  22. MsgBox "c"
  23. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement