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
write
if val
if
writeln "is directory"
} else {
Line 1,961:
}
</syntaxhighlight>
|