POV-Ray : Newsgroups : povray.beta-test : check type of variable : Re: check type of variable Server Time
25 Apr 2024 15:35:52 EDT (-0400)
  Re: check type of variable  
From: ingo
Date: 6 Dec 2018 02:03:55
Message: <XnsA9B0520C4420seed7@news.povray.org>
in news:5c089855$1@news.povray.org clipka wrote:

>> If not, read it as a feature request.
>> #if (type(Var)=String)
>>           ...
>> #end
> 
> MegaPOV had such a feature. Official POV-Ray doesn't.

Ah yes, #declare Identifier=is ( IDENTIFIER , TYPE | SUBTYPE );

I guess this feature is probably not high on the transplantation list.


ingo


Post a reply to this message

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