Check that file exists: Difference between revisions

Content added Content deleted
(add scala)
No edit summary
Line 531: Line 531:
}</lang>
}</lang>
Note: Icon and Unicon accept both / and \ for directory separators.
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}}==
=={{header|J}}==