POV-Ray : Newsgroups : povray.animations : AutoClck.mcr : Re: AutoClck.mcr Server Time
19 Apr 2024 16:41:18 EDT (-0400)
  Re: AutoClck.mcr  
From: Kenneth
Date: 6 Feb 2013 15:00:01
Message: <web.5112b3d23b109664c2d977c20@news.povray.org>
"MichaelJF" <mi-### [at] t-onlinede> wrote:

>
> For such an search-and-replace you would need a search-and-replace with the
> option to use regular expressions since you will not know the right side of
> the declarations. Such as replace "#declare = [any characters to end of
> line]" by "#declare = [same characters to end of line];"

Sorry, my suggestion was not very clear: Actually, search-and-replace in POV-Ray
can replace *just* "#declare" if you like (safely), without touching the
rest of the code line.

> and in addition you have to distinguish between declarations of floats,
> vectors and strings, which needs an semicolon, and other declarations
> such as arrays, which needs no semicolon.

Yes, I understand now; that would probably take a fair amount of manual work.


Post a reply to this message

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