Check that file exists: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 836:
filenameOnly$ = right$(fullPath$, len(fullPath$)-pathLength)
end function</lang>
 
=={{header|Little}}==
<lang C> if (exists("input.txt")) {
puts("The file \"input.txt\" exist");
}
if (exists("/input.txt")) {
puts("The file \"/input.txt\" exist");
}
if (exists("docs")) {
puts("The file \"docs\" exist");
}
if (exists("/docs")) {
puts("The file \"/docs\" exist");
}</lang>
 
=={{header|LiveCode}}==
Anonymous user