bbjimmy has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has joined #yab
_-Caleb-_ has joined #yab
_-Caleb-_ has quit [Read error: Connection reset by peer]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has joined #yab
lorglas has joined #yab
<
lorglas>
@
_-Caleb-_
<
lorglas>
some code from us for testing
<
lorglas>
//Check if a file or folder already exisits
<
lorglas>
sub IfExists(filename$)
<
lorglas>
return not system("test -e "+filename$)
<
lorglas>
sub IfFile(filename$)
<
lorglas>
return not system("test -f "+filename$)
<
lorglas>
sub IfSymbolicLink(filename$)
<
lorglas>
return not system("test -L "+filename$)
<
lorglas>
sub IfDirectory(filename$)
<
lorglas>
return not system("test -d "+filename$)
lorglas has quit [Quit: Vision[]: i've been blurred!]
<
bbjimmy>
lorglas you should make this a yab library and document it.