[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/smallbasic/smallbasic.github.io/master/reference/557.html [Back]  [Original]

SmallBASIC | ISFILE ⯅

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

Web Proxy Viewer  |  New URL  |  Original Page