stefan1919

DoLoopUntil

Oct 13th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Module Module1
  2.  
  3.     Sub Main()
  4.         Dim password As String = String.Empty
  5.         Do
  6.             password = InputBox("What is the password?", "Password Input", "Please Input the new password: ")
  7.             password = password.ToUpper()
  8.         Loop Until password = "SHAZAM"
  9.         Console.ReadLine()
  10.     End Sub
  11. End Module
Advertisement
Add Comment
Please, Sign In to add comment