POV-Ray : Newsgroups : povray.advanced-users : File existance test Server Time
29 Jul 2024 04:18:53 EDT (-0400)
  File existance test (Message 1 to 3 of 3)  
From: Andrew Coppin
Subject: File existance test
Date: 14 Oct 2002 09:47:42
Message: <3daacafe@news.povray.org>
Hello oh great and knowledgeable POV-Ray users...

(Er, yeah, ok, let's cut the grovelling and just ask!)

Is there a way to test weather a given file already exists? What I'd like to
do is something along the lines of

#if (file doesn't exist)
  create it!
#end

Any ideas?

Thanks.
Andrew.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: File existance test
Date: 14 Oct 2002 10:01:06
Message: <3daace22$1@news.povray.org>
In article <3daacafe@news.povray.org> , "Andrew Coppin" 
<orp### [at] btinternetcom> wrote:

> Is there a way to test weather a given file already exists? What I'd like to
> do is something along the lines of

Look into the manual for the "file_exists" function...

    Thorsten


Post a reply to this message

From: Andrew Coppin
Subject: Re: File existance test
Date: 16 Oct 2002 09:52:59
Message: <3dad6f3b@news.povray.org>
> Look into the manual for the "file_exists" function...

Unbelievable... I spent ages searching for this... How in god's name did I
not see this?

OK, time to go hide in a corner methinks... or under a rock perhaps!
Andrew.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.