ISFILE

b = ISFILE (file)

Returns true if the string “f” is a regular file.

Example

print IsFile("C:\windows\EXPLORER.EXE")        ' Output 1 on Windows, otherwise 0
print IsFile("/etc/passwd")                    ' Output 1 on Linux, otherwise 0
Code samples using ISFILE
Data
If there is insufficient information on this page and you wish learn more about ISFILE, please send an email to smallbasic@gmail.com. You can help to improve information about ISFILE by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.