System Administration
Adding Custom Tests
The BasicTests API accesses these functions with the SABase self.bt member. All methods throw an
exception that should be caught if an unexpected error occurs.
Return Value
Boolean
Boolean
Boolean
Long
13-32
Public Method
getFileIsDirectory(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
getFileIsFile(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
getFileIsHidden(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
getFileSize(string file, debug=0)
Returns the Logical file size in bytes.
Table 13-2.BasicTests API (cont.)