POV-Ray : Newsgroups : povray.beta-test : v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries : Re: v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries Server Time
17 May 2024 05:53:16 EDT (-0400)
  Re: v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries  
From: jr
Date: 22 Oct 2023 15:40:00
Message: <web.65357a8c7b584a00b180e2cc6cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> The #declare / #local, deprecated sub-feature does not function when the
> reference to the identifiers is done via the 'global' and 'local' pseudo
> dictionaries(*).
> ...
> (*) As mentioned in an earlier post to beta-test, I don't presently
> recommend any pseudo dictionary use in v3.8 beyond the #macro local.
> testing for optional parameter defaults.

for instance, if I have 'A.pov' and 'A.inc', and the latter '#include's another
file ('filed.inc', in this particular situation), I have taken to writing in
'A.inc' eg:

#ifdef (global.fild_workingDir)
  ...
#end

would dropping the 'global' make an actual difference ?


regards, jr.


Post a reply to this message

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