POV-Ray : Newsgroups : povray.windows : Matching braces, brackets and parentheses : Re: Matching braces, brackets and parentheses Server Time
6 Oct 2024 02:59:02 EDT (-0400)
  Re: Matching braces, brackets and parentheses  
From: Warp
Date: 11 Aug 2000 05:37:06
Message: <3993c942@news.povray.org>

: Well, I do use indentation a lot, but when you get material { texture { ... down
: to a color_map mixed with other normal_map, there's bound to be an error.

  Again: A proper indentation should help.

material
{
    texture
    {
        pigment
        {
            onion color_map
            {
                [0 rgb 0]
                [1 rgbf 1]
            }
            turbulence .5
        }
        finish
        {
            specular .5 roughness .05
        }
    }

    interior
    {
        ior 1.5
    }
}

  At least I can distinguish quite well matching parentheses there.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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