1 Imports Microsoft.VisualBasic
\r
3 Public Class TestClass
\r
4 Public Function Test() As String
\r
7 FileOpen(1, "5227.txt", OpenMode.Output)
\r
8 WriteLine (1, "Hello World")
\r
11 Dim length as Long = seek (1)
\r
13 Throw New Exception ("Expected value is 6 but got " + length.ToString)
\r