Check that file exists: Difference between revisions

no edit summary
No edit summary
Line 494:
 
=={{header|Arturo}}==
<lang arturorebol>checkIfExists: @(function [file){][
 
if? exists? file [print [file "exists"]]
<lang arturo>checkIfExists: @(file){
ifelse [fileExists file] { print [file + " exists" } { print file + " doesn't exist" }]]
]
}
checkIfExists "input.txt"
Line 504:
checkIfExists "/input.txt"
checkIfExists "/docs"</lang>
 
=={{header|AutoHotkey}}==
1,532

edits