POV-Ray : Newsgroups : povray.windows : Matching braces, brackets and parentheses : Re: Matching braces, brackets and parentheses Server Time
18 Jul 2024 17:22:40 EDT (-0400)
  Re: Matching braces, brackets and parentheses  
From: Fabien Hénon
Date: 11 Aug 2000 19:09:04
Message: <399487D9.2CA3BD41@club-internet.fr>
I try to keep scripts as clean and tidy as yours, but what I meant is that it would be
a nice add-on for the coming version of POV. ( win or other)
But I just don't have a clue if it will require a lot of work or not.





> : 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.