Check that file exists: Difference between revisions
→{{header|langur}}
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 1,948:
=={{header|langur}}==
The prop() function returns a hash of file/directory properties.
<syntaxhighlight lang="langur">val .printresult =
write .file, ": "
if val .p = prop(.file) {
Line 1,957:
}
} else {
writeln "
}
}
|