fork download
  1. Imports System.CollectionsModule Module1Sub Main ( )
  2. Dim arr As New ArrayListDim c As Integerarr.Add( "a"c )
  3. arr.Add( 20 )
  4. arr.Add( 2.5 )
  5. arr.Add( "Rahul" )
  6. arr.Add( True )
  7. arr.Add( 40 )
  8. arr.Insert( 1, "Rohit" )
  9. c = arr.CapacityConsole.WriteLine( c )
  10. End Sub
  11. End Module
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5943 (Mono 3.8 - tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/L9ZifG/prog.vb (1,45) : error VBNC30205: End of statement expected.
/home/L9ZifG/prog.vb (1,45): Compiler error around this location, the compiler hasn't implemented the error message, nor error recovery, so the compiler will probably crash soon.
   at vbnc.Helper.ErrorRecoveryNotImplemented(Span Location)
   at vbnc.Parser.ParseImportsStatement(vbnc.ParsedObject Parent)
   at vbnc.Parser.ParseImportsStatements(vbnc.ParsedObject Parent)
   at vbnc.Parser.ParseFileHeader(vbnc.CodeFile CodeFile, vbnc.AssemblyDeclaration Assembly)
   at vbnc.Parser.ParseAssemblyDeclaration(System.String RootNamespace, vbnc.AssemblyDeclaration assembly)
   at vbnc.Parser.Parse(System.String RootNamespace, vbnc.AssemblyDeclaration assembly)
   at vbnc.Compiler.Compile_Parse()
   at vbnc.Compiler.Compile()
   at vbnc.Compiler.Compile(System.String[] CommandLine)
   at vbnc.Main.Main(System.String[] CmdArgs)
/home/L9ZifG/prog.vb (1,45) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (2,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (3,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (4,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (5,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (6,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (7,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (8,4) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (9,2) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (10,8) : error VBNC30203: Identifier expected.
/home/L9ZifG/prog.vb (11,11) : error VBNC30203: Identifier expected.
There were 12 errors and 0 warnings.
Compilation took 00:00:00.6025740
stdout
Standard output is empty