Advertisement
3_2004-2005 Files/ File Controls/ Input/ Output #136501

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
Original Comments (3)
Recovered from Wayback Machine