POV-Ray : Newsgroups : povray.beta-test : No String Parameters for Macros? : Re: No String Parameters for Macros? Server Time
28 Jul 2024 22:16:48 EDT (-0400)
  Re: No String Parameters for Macros?  
From: Nicolas Alvarez
Date: 30 Nov 2008 19:58:13
Message: <493336a5@news.povray.org>
Warp wrote:
> Trevor G Quayle <Tin### [at] hotmailcom> wrote:
>> The problem is not the macro.  It's that #if expects numericals and does
>> not accept strings.
> 
>   A shortcoming which, IMO, should be fixed. I see absolutely no reason
> for strings not supporting the comparison operators.

For the benefit of people reading old threads: this was added in
3.7.beta.23.

 "Added comparison ('=', '!=', '<', '<=', '>', '>=') support for strings."


Post a reply to this message

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