Check that file exists: Difference between revisions
Content added Content deleted
Drkameleon (talk | contribs) |
Drkameleon (talk | contribs) |
||
Line 494: | Line 494: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
<lang rebol>checkIfExists: function [ |
<lang rebol>checkIfExists: function [fpath][ |
||
(or? exists? fpath |
|||
exists? .directory fpath)? -> print [fpath "exists"] |
|||
-> print [fpath "doesn't exist"] |
|||
] |
] |
||