POV-Ray : Newsgroups : povray.newusers : strings in #if-directive : Re: strings in #if-directive Server Time
4 Nov 2024 17:45:19 EST (-0500)
  Re: strings in #if-directive  
From: marabou
Date: 11 Dec 2001 14:34:53
Message: <3c165fdc@news.povray.org>
marabou wrote:

> 
> hello,
> how do i handle strings, if i want to create the following:
> 
> #macro mymacro(this)
>         #if (this = "myvalue")
>                 ...
>         #end
> #end
> 
> mymacro(myvalue)
> 
or is there anything like strcmp(A,B) in v3.1?


Post a reply to this message

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