POV-Ray : Newsgroups : povray.advanced-users : Array or scalar? Server Time: 25 Jun 2019 19:41:56 GMT
  Array or scalar? (Message 1 to 2 of 2)  
From: Cousin Ricky
Subject: Array or scalar?
Date: 6 Aug 2017 20:46:09
Message: <59878011$1@news.povray.org>
Is there a way for a macro to test whether one of its arguments is a 
scalar or an array?


Post a reply to this message

From: clipka
Subject: Re: Array or scalar?
Date: 7 Aug 2017 09:18:38
Message: <5988306e$1@news.povray.org>
Am 06.08.2017 um 22:47 schrieb Cousin Ricky:
> Is there a way for a macro to test whether one of its arguments is a
> scalar or an array?

Not in official POV-Ray.

MegaPOV had a set of functions to determine the type of a variable,
which presumably also allowed to distinguish between scalars and arrays,
but this has never been ported to official POV-Ray (yet).


Post a reply to this message

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