POV-Ray : Newsgroups : povray.programming : Persistent Variables : Re: Persistent Variables Server Time
28 Jul 2024 18:12:11 EDT (-0400)
  Re: Persistent Variables  
From: Nieminen Juha
Date: 23 Nov 1999 11:40:28
Message: <383ac37c@news.povray.org>
There have been suggestion about adding support for "static" objects in
povray. These static objects would be parsed only for the first frame but
not for the rest.
  Identifiers could also be declared as static, making the persistent. A
constant identifier could also be a good idea.

#static Position = <1,2,3>; // like #local, but persistent
#const Radius = 5; // same as #static, but makes it also unchangeable
#static Object =
  union
  { ...
  }

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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