Click or drag to resize

Checkfile function

Checkfile function checks if a file exists.

Syntax

Default syntax: checkfile "path"; returns 1 if the file exists, 0 otherwise. You can use both absolute and relative path.

//Outputs if the file exists or not
if checkfile ".\File.txt" then
  output The file exists
  else
  output The file does not exist
endif