fork download
  1. Function FindMax(ByVal num1 As Integer, ByVal num2 As Integer) As Integer
  2.  
  3. ' local variable declaration */
  4.  
  5. Dim result As Integer
  6.  
  7. If (num1 > num2) Then
  8.  
  9. result = num1
  10.  
  11. Else
  12.  
  13. result = num2
  14.  
  15. End If
  16.  
  17. FindMax = result
  18.  
  19. End Function
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/OO4V9P/prog.vb (1,10) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (5,4) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (7,3) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (9,7) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (11,5) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (13,7) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (15,7) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (17,8) : Error VBNC30203: Not valid as identifier.
/home/OO4V9P/prog.vb (19,13) : Error VBNC30203: Not valid as identifier.
There were 9 errors and 0 warnings.
Compilation took 00:00:00.7428060
stdout
Standard output is empty