Advertisement
5_2007-2008 Files/ File Controls/ Input/ Output #172541

Open a text file FAST!

Opens a text file much fast than a "Do While Not EOF(filenumber)" loop. Makes file load times almost non-existant.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Public Function OpenFile(ByVal file As String) As String
 Dim i As Integer
 i = FreeFile
 Open file For Input As #i
 OpenFile = Input(LOF(i), i)
 Close #i
End Function
Upload
Original Comments (3)
Recovered from Wayback Machine