Jump to content

Check that file exists: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 384:
call system('mkdir docs')
end if</lang>
 
=={{header|Groovy}}==
<lang groovy>println new File('input.txt').exists()
println new File('/input.txt').exists()
println new File('docs').exists()
println new File('/docs').exists()</lang>
 
=={{header|Haskell}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.