news:43b3babc$1@news.povray.org...
> Hi
>
> is it possible to check the availability of a file in SDL and then do a
> decision dependiong on the file is available or not. I tried
>
> #fopen f1 "filename" read
> #ifdef f1
> #warning "file is open"
> #end
>
> but that gives me a parse error when "filename" is not available.
>
> --
> mat### [at] matweide
> http://www.matwei.de
I think you want 'file_exists(S)' covered in '3.2.1.3.4 Functions'.
Regards,
Chris B.
Post a reply to this message
|