[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
Podsumowanie AI: 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.
Kod źródłowy
' 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
Oryginalne komentarze (3)
Odzyskane z Wayback Machine