re: I Just Finished My First Year of BSc Computer Science at University, Ask Me Anything! VIEW POST

re: Hi Sarad! I learnt Python and Java this year as part of the course, going into university I had done (in college/high-school) and a bit of P...

Henry remember this.

Dim output As String
    'Old Delete Block
    If File.Exists(fileName) = True Then
        Debug.WriteLine("file deleted ")
    End If
    'Using fs As FileStream = File.Create(fileName)
    '    For Each t In coastalTowns
    '        output = New UTF8Encoding(True).GetBytes(String.Format(myFormat,, t.county, t.population, t.area))
    '        fs.Write(output, 0, output.Length)
    '    Next
    'End Using
    FileOpen(2, fileName, OpenMode.Random, , , 43)
    While EOF(2)
        For Each T In coastalTowns
            If Not = "" Then
                output = (String.Format(myFormat,, T.county, T.population, T.area))
                FilePut(2, output)
            End If


    End While

The obsolete code we had to use. haha

My god, yes I do. FilePut(), FileOpen() and FileClose() are bring back horrid memories from my A Level coursework hahahaha. One of the reasons I'm very glad my VB days are behind me.

code of conduct - report abuse