|
|
"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
|
|