Cosmos/source/Cosmos.VS.Package/Templates/Projects/CosmosKernel (VB)/Kernel.vb
fanoI 81402241c0 Fixed Template for Visual Basic kernel
- Visual Basict projects do not accept ';' as separator between the constant definitions they accept instead ','
- The example kernel was wrong as nothing was really echoed back!
2016-08-29 15:44:57 +02:00

23 lines
597 B
VB.net

Imports System
Imports System.Collections.Generic
Imports System.Text
Namespace $safeprojectname$
Public Class Kernel
Inherits Cosmos.System.Kernel
Protected Overrides Sub BeforeRun()
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.")
End Sub
Protected Overrides Sub Run()
Console.Write("Input: ")
Dim input = Console.ReadLine()
Console.Write("Text typed: ")
Console.WriteLine(input)
End Sub
End Class
End Namespace