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:14:25 EDT (-0400)
  Re: Has string handling been changed or improved?  
From: Warp
Date: 11 May 2010 07:40:16
Message: <4be94220@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:
> It does a loop and test each characters in turn. The first pair of 
> missmatching will trigger the condition. A successfull test for equality 
> is the longest, or if only the last character is different, as you had 
> to compare every characters.

  More briefly: The comparison operators are simply a shortcut to calling
the strcmp() function of the SDL syntax.

-- 
                                                          - Warp


Post a reply to this message

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