Jump to content

Check that file exists: Difference between revisions

(added langur language example)
Line 1,947:
 
=={{header|langur}}==
Use theThe prop() function, which returns a hash of file/directory properties.
{{works with|langur|0.12.7}}
<syntaxhighlight lang="langur">val .printresult = f(.file) {
write .file, ": "
Line 1,958 ⟶ 1,957:
}
} else {
writeln "nothingnot found or not accessible"
}
}
890

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.