File Exists

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
 
'''File To Check:''' The search file, complete with file path and extensions.
 
'''File To Check:''' The search file, complete with file path and extensions.
 +
 +
''Please note that the returned values '''True''' and '''False''' are both capitalized.''
  
 
== Example ==
 
== Example ==

Revision as of 14:21, 26 November 2014

$File Exists is a File Function. The function returns whether or not a file exists.

File To Check: The search file, complete with file path and extensions.

Please note that the returned values True and False are both capitalized.

Example

set(#checking, $file exists("C:\\Users\\Desktop\\Miscellaneous\\summaries.txt"), "Global")


If the file exists, the function will return the value "true".


Fileex.jpg



If the file does not exist, the function will return the value "false".


Fileex0.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox