Anonymous user
Check that file exists: Difference between revisions
Added Slate implementation
m (→{{header|Fortran}}: nl ww; lang tag; comments' maquillage + comment notes; - ;) |
(Added Slate implementation) |
||
Line 344:
File.exist?("docs")
File.exist?("/docs")</lang>
=={{header|Slate}}==
<lang slate>
(File newNamed: 'input.txt') exists
(File newNamed: '/input.txt') exists
(Directory root / 'input.txt') exists
(Directory newNamed: 'docs') exists
(Directory newNamed: '/docs') exists
</lang>
=={{header|Smalltalk}}==
|