Re: file check

new topic     » goto parent     » topic index » view thread      » older message » newer message

No need to scan through the returned data. Try this ...

include file.e 
function file_exists(sequence filename) 
    return sequence(dir(filename)) 
end function 
 
if file_exists("somefile.xyz") then 
  . . . 
end if 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu