Check that file exists: Difference between revisions
add BQN
(add BQN) |
|||
Line 815:
PRINT "Directory \docs exists"
ENDIF</lang>
=={{header|BQN}}==
'''Works In:''' [[CBQN]]
Takes filename as a command line argument, tells whether it exists.
<lang BQN>fname ← ⊑args
•Out fname∾" Does not exist"‿" Exists"⊑˜•File.exists fname</lang>
=={{header|C}}==
|