POV-Ray : Newsgroups : povray.newusers : conditional statements : Re: conditional statements Server Time
6 Oct 2024 02:22:08 EDT (-0400)
  Re: conditional statements  
From: Warp
Date: 17 Jul 2009 07:29:12
Message: <4a606088@news.povray.org>
clipka <nomail@nomail> wrote:
> In POV 3.6, you can achieve this using:

>   #if (strcmp(DoorModel,model_101)) ...

  Actually you have to do it like:

#if(strcmp(DoorModel, model_101) = 0) ...

-- 
                                                          - Warp


Post a reply to this message

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