POV-Ray : Newsgroups : povray.beta-test : check type of variable : Re: check type of variable Server Time
20 Jun 2021 16:57:50 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-2021 Persistence of Vision Raytracer Pty. Ltd.