[A+] Check file existence
This function can be used to determine if some file exists or not. It returns "True" when file does exist, and "False" when it doesn't. Please vote for this cute little code! Thank you so much!
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
' Returns True in case path (file) exists: Function FileExists(ByVal sFileName As String) As Boolean Dim i As Integer On Error GoTo NotFound i = GetAttr(sFileName) FileExists = True Exit Function NotFound: FileExists = False End Function
Original Comments (3)
Recovered from Wayback Machine