Anonymous user
Check that file exists: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 353:
check doesFileExist "/input.txt"
check doesDirectoryExist "/docs"</lang>
=={{header|HicEst}}==
<lang hicest> OPEN(FIle= 'input.txt', OLD, IOStat=ios, ERror=99)
OPEN(FIle='C:\input.txt', OLD, IOStat=ios, ERror=99)
! ...
99 WRITE(Messagebox='!') 'File does not exist. Error message ', ios </lang>
=={{header|J}}==
|