Check that file exists: Difference between revisions

m (→‎{{header|Phix}}: added syntax colouring the hard way, phix/basics)
Line 1,633:
@show isfile("")
@show isfile("`Abdu'l-Bahá.txt")</lang>
 
=={{header|Klingphix}}==
<lang Klingphix>include ..\Utilitys.tlhy
 
"foo.bar" "w" fopen
"Hallo !" over fputs
fclose
"fou.bar" "r" fopen
dup 0 < ( ["Could not open 'fou.bar' for reading" print drop] [fclose] ) if
 
" " input</lang>
{{out}}
<pre>Could not open 'fou.bar' for reading</pre>
 
=={{header|Kotlin}}==
672

edits