File Exists
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | $File Exists is a [[File Functions|File Function]]. The function returns | + | $File Exists is a [[File Functions|File Function]]. The function returns whether or not a file exists. |
− | + | ||
− | + | ||
== Example == | == Example == |
Revision as of 20:36, 11 April 2013
$File Exists is a File Function. The function returns whether or not a file exists.
Example
set(#checking, $file exists("C:\\Users\\Desktop\\Miscellaneous\\summaries.txt"), "Global")
If the file exists, the function will return the value "true".
If the file does not exist, the function will return the value "false".