bbjimmy has quit [Ping timeout: 480 seconds]
bbjimmy_64 has quit [Ping timeout: 480 seconds]
bbjimmy has joined #yab
bbjimmy_64 has joined #yab
_-Caleb-_ has joined #yab
<
_-Caleb-_>
hi bbjimmy bbjimmy_64 :-)
<
_-Caleb-_>
i have a question (of course!) :-)
<
_-Caleb-_>
how can i check if file exist using yab?
<
_-Caleb-_>
im thinking in open file as reading but and with an IF (if output = "")
<
_-Caleb-_>
but ... is that the better way?
<
_-Caleb-_>
thanks in advanced :-)
<
bbjimmy>
let me think, I know I have checked for an existing file in the past.
<
bbjimmy>
open a,"file","r" Open the file for reading (may also be written as for reading). If the file does not exist, the command will fail.
<
bbjimmy>
if open "file","r" print "file exists"
<
_-Caleb-_>
thanks a lot!
<
_-Caleb-_>
i can check later
_-Caleb-_ has quit [Quit: Vision[]: i've been blurred!]