I need help with creating multiple commands without it closing.
Code:
When I execute the console, I type in the 5+5 command and suddenly it closes. I want it to show 10. :mad: How?
Code:
Code:
Module Module1
Dim Com As String
Sub Main()
Console.WriteLine("Welcome to MiniDOS. A text-based operating system. We hoped to have you here.")
Console.ReadLine()
Com1()
End Sub
Private Sub Com1()
Throw New NotImplementedException
If Com = "5+5" Then
Console.WriteLine("10")
Console.ReadLine()
End If
End Sub
End Module