Check that file exists: Difference between revisions

(added langur language example)
 
(One intermediate revision by the same user not shown)
Line 1,947:
 
=={{header|langur}}==
Use theThe prop() function, which returns a hash of file/directory properties.
<syntaxhighlight lang="langur">val .printresult = fimpure fn(.file) {
{{works with|langur|0.12.7}}
<syntaxhighlight lang="langur">val .printresult = f(.file) {
write .file, ": "
if val .p = prop(.file) {
890

edits