POV-Ray : Newsgroups : povray.beta-test : v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries : v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries Server Time
17 May 2024 03:34:02 EDT (-0400)
  v3.8 b2. Deprecated feature doesn't work with pseudo dictionaries  
From: William F Pokorny
Date: 21 Oct 2023 21:18:38
Message: <6534786e$1@news.povray.org>
The #declare / #local, deprecated sub-feature does not function when the 
reference to the identifiers is done via the 'global' and 'local' pseudo 
dictionaries(*).

Aside:
With the povr fork, I'm considering dropping the 'deprecated' feature 
given the extremely light usage in official POV-Ray releases. There is 
no use in povr itself today.

It is an expensive parse time feature given the benefit. Every reference 
to identifiers during parsing - even with 'once' use - must be checked 
to support it.

We can issue deprecated messages without it for existing scene 
description language implemented features, only once, when they are 
included or defined, but not on actual usage of the SDL feature.

And... There look to be bug(s?) with the deprecated feature itself which 
I'll post about at a later time.

(*) 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.

Bill P.


Post a reply to this message

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