POV-Ray : Newsgroups : povray.general : Has string handling been changed or improved? : Re: Has string handling been changed or improved? Server Time
30 Jul 2024 04:15:43 EDT (-0400)
  Re: Has string handling been changed or improved?  
From: Warp
Date: 11 May 2010 09:19:18
Message: <4be95956@news.povray.org>
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 05/11/2010 10:01 AM, Kenneth wrote:
> > Yes yes, I think that would help. Good idea. (In my attempt to grasp what was
> > going on, I didn't know *how* to give a better example, or if it even needed
> > one.)

> howz zat?
>
http://wiki.povray.org/content/Documentation:Reference_Section_2.3#String_Relational_Operators

  I think that it should mention that the comparison operators are completely
equivalent to calling strcmp(). Maybe give an example like:

    string1 = string2

is completely equivalent to:

    strcmp(string1, string2) = 0

-- 
                                                          - Warp


Post a reply to this message

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