6 lines
202 B
Text
6 lines
202 B
Text
|
|
files #f,"input.txt"
|
||
|
|
if #f hasanswer() = 1 then print "File does not exist"
|
||
|
|
files #f,"docs"
|
||
|
|
if #f hasanswer() = 1 then print "File does not exist"
|
||
|
|
if #f isDir() = 0 then print "This is a directory"
|