Check that file exists: Difference between revisions

(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 1,172:
=={{header|Forth}}==
 
<lang forth>: .exists ( str len -- ) 2dup file-status nip 0= if type ." exists" else type ." does not exist" then type ;
s" input.txt" .exists
s" /input.txt" .exists
Anonymous user