POV-Ray : Newsgroups : povray.general : #ifdef fails? : Re: #ifdef fails? Server Time
29 Jul 2024 06:13:46 EDT (-0400)
  Re: #ifdef fails?  
From: Christian Froeschlin
Date: 17 Nov 2012 16:42:15
Message: <50a804b7$1@news.povray.org>
Ger wrote:

>     #fopen FN FileName read
>     #ifdef (FN)
>       #while (defined(FN))
> 	#read ( FN , Vector)
> 	action( Vector )
>       #end
>     #end

the documentation of #fopen states that IDENTIFIER should be
an undefined identifier. So it might be that the #ifdef test
only works if FN was not alreaday defined prior to #fopen.


Post a reply to this message

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