Anonymous user
Check that file exists: Difference between revisions
Undo revision 293782 by EggplantBill (talk)
(Undo revision 293785 by EggplantBill (talk)) |
(Undo revision 293782 by EggplantBill (talk)) |
||
Line 2,314:
end func;</lang>
=={{header|
<lang
say (Dir.cwd + %d'docs' -> is_dir);
# Root
say (Dir.root + %f'input.txt' -> is_file);
say (Dir.root + %d'docs' -> is_dir);</lang>
NOTE: To check only for existence, use the method ''exists''
=={{header|Slate}}==
|