Check that file exists: Difference between revisions

added ocaml
m (Spelling/grammar/aesthetics)
(added ocaml)
Line 101:
doesFileExist "\input.txt"
(getDirectories "C:\docs").count == 1
 
=={{header|OCaml}}==
Sys.file_exists "input.txt";;
Sys.file_exists "docs";;
Sys.file_exists "/input.txt";;
Sys.file_exists "/docs";;
 
=={{header|PHP}}==
Anonymous user