Check that file exists: Difference between revisions
Content added Content deleted
(add scala) |
No edit summary |
||
Line 531:
}</lang>
Note: Icon and Unicon accept both / and \ for directory separators.
=={{header|IDL}}==
<lang idl>
print, FILE_TEST('input.txt')
print, FILE_TEST(PATH_SEP()+'input.txt')
print, FILE_TEST('docs', /DIRECTORY)
print, FILE_TEST(PATH_SEP()+'docs', /DIRECTORY)
</lang>
=={{header|J}}==
|