fork download
  1. Sub CheckWhile()
  2. Dim intCounter As Integer = 0
  3. Dim intNumber As Integer = 10
  4. While intNumber > 6
  5. intNumber -= 1
  6. intCounter += 1
  7. End While
  8. MsgBox("The loop ran " & intCounter & " times.")
  9. End Sub
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/4AFC9s/prog.vb (1,5) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (2,7) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (3,7) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (4,9) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (5,16) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (6,17) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (7,13) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (8,10) : Error VBNC30203: Not valid as identifier.
/home/4AFC9s/prog.vb (9,8) : Error VBNC30203: Not valid as identifier.
There were 9 errors and 0 warnings.
Compilation took 00:00:00.6642430
stdout
Standard output is empty