home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic .NET - Read Less - Learn More / Visual_Basic.NET_Read_Less_Learn_More_Richard_Bowman_Visual_2002.iso / Resources / Code / Ch4-UsingDoLoops / Module1.vb < prev   
Text File  |  2001-07-12  |  277b  |  13 lines

  1. Module Module1
  2.     
  3.     Sub Main()
  4.         Dim x As Integer = 0
  5.         Do Until x = 10
  6.             Console.WriteLine("Still running....")
  7.             x = x + 1
  8.         Loop
  9.         Console.ReadLine()      ' wait for user to press Enter
  10.     End Sub
  11.     
  12. End Module
  13.