POV-Ray : Newsgroups : povray.animations : AutoClck.mcr : Re: AutoClck.mcr Server Time
26 Apr 2024 17:06:23 EDT (-0400)
  Re: AutoClck.mcr  
From: MichaelJF
Date: 6 Feb 2013 14:00:01
Message: <web.5112a8283b109664d7093400@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> Perhaps this is a dumb and oh-so-obvious idea, but...would it be 'dangerous' to
> simply do a quick search-and-replace of all the #declares (and maybe any
> #locals?)

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];" 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. I
think this will not be easy to implement since you will need context-sensitivity
as well. I know an application with regular expression search and replace (The
Statistical Analysis Software, SAS) but no one with context sensitivity in
addition.

>
> BTW, is this the only active link now to Chris's include file downloads? Had
> trouble finding even this one...
>
> http://www.reocities.com/SiliconValley/lakes/1434/

This may be, I remember to have some difficulties to find them myself one or two
years ago. But finally I found them but never used this one so far. But there
are more broken links within the POV resources (I remember only the loss of
gems.inc and I had some problems to find the Java-version of TomTree by Genady
Obukhov, which is still available at a somewhat mysterious mirror side).

Best regards,
Michael


Post a reply to this message

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