POV-Ray : Newsgroups : povray.unofficial.patches : #version in UberPOV : Re: #version in UberPOV Server Time
19 Apr 2024 18:24:33 EDT (-0400)
  Re: #version in UberPOV  
From: Mike Horvath
Date: 8 Feb 2018 18:33:24
Message: <5a7cde44$1@news.povray.org>
On 2/7/2018 3:57 PM, clipka wrote:
> Am 07.02.2018 um 02:32 schrieb Mike Horvath:
>> UberPOV has lengthy #version declarations such as the following:
>>
>> #version unofficial patch 3.71;
>> #patch 0.99;
>>
>> How do I store the version in a variable? For instance
>>
>> #declare MyVersion = version;
>>
>> Does that still work properly?
> 
> It should. Let me know if it doesn't.
> 


I just tried

     #debug concat("\n\nMike's version: ", str(version, 0, -1), "\n\n")

And it outputted

     Mike's version: 3.620000



Mike


Post a reply to this message

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