POV-Ray : Newsgroups : povray.unofficial.patches : #version in UberPOV : Re: #version in UberPOV Server Time
12 Jun 2025 09:13:59 EDT (-0400)
  Re: #version in UberPOV  
From: clipka
Date: 9 Feb 2018 06:51:33
Message: <5a7d8b45$1@news.povray.org>
Am 09.02.2018 um 00:33 schrieb Mike Horvath:
> 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

Is that with or without the `#version unofficial patch 3.71;" ??

Because if you don't specify a `#version` statement nor `Version` INI
setting, 3.62 is the default you get.


Post a reply to this message

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