Christian Specht avatar Christian Specht committed 28ed6d7

alphabetic order

Comments (0)

Files changed (2)

 
 - **`Directory_Exists`**  
 Returns True if the specified directory exists.
+- **`File_Delete`**  
+Deletes a file. If the file does not exist, nothing happens.
 - **`File_Exists`**  
 Returns True if the specified file exists.
-- **`File_Delete`**  
-Deletes a file. If the file does not exist, nothing happens.
 - **`File_ReadAllLines`**  
 Reads a text file and returns a string array, each array item containing a line from the file.
 - **`File_ReadAllText`**  
 '# VBA Helpers
 '# A collection of useful VBA functions
 '#
-'# Version 20121227.215544
+'# Version 20121228.001859
 '# (the version number is just the current date/time)
 '#
 '# Copyright (c) 2012 Christian Specht
     
 End Function
 
-Public Function File_Exists(ByVal path_vbah As String) As Boolean
-    'Returns True if the specified file exists.
-    
-    File_Exists = (Dir(path_vbah) > "")
-    
-End Function
-
 Public Sub File_Delete(ByVal path_vbah As String)
     'Deletes a file. If the file does not exist, nothing happens.
 
 
 End Sub
 
+Public Function File_Exists(ByVal path_vbah As String) As Boolean
+    'Returns True if the specified file exists.
+    
+    File_Exists = (Dir(path_vbah) > "")
+    
+End Function
+
 Public Function File_ReadAllLines(ByVal path_vbah As String) As String()
     'Reads a text file and returns a string array, each array item containing a line from the file.
     
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.