fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim n As Integer
  6. n = InputBox("hoogte?")
  7. Do While n <> 42
  8. System.Console.WriteLine(n)
  9. n = Console.ReadLine
  10. Loop
  11. End Sub
  12. End Class
Runtime error #stdin #stdout #stderr 0.34s 41760KB
stdin
1
2
10
42
11
stdout
Standard output is empty
stderr
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] 
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] 
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] 
  at System.Windows.Forms.Form..ctor () [0x00000] 
  at Microsoft.VisualBasic.Interaction+InputForm..ctor (System.String Prompt, System.String Title, System.String DefaultResponse, Int32 XPos, Int32 YPos) [0x00000] 
  at (wrapper remoting-invoke-with-check) Microsoft.VisualBasic.Interaction/InputForm:.ctor (string,string,string,int,int)
  at Microsoft.VisualBasic.Interaction.InputBox (System.String Prompt, System.String Title, System.String DefaultResponse, Int32 XPos, Int32 YPos) [0x00000] 
  at Test.Main () [0x00000]