POV-Ray : Newsgroups : povray.advanced-users : Array or scalar? Server Time
23 Nov 2024 10:39:07 EST (-0500)
  Array or scalar? (Message 1 to 2 of 2)  
From: Cousin Ricky
Subject: Array or scalar?
Date: 6 Aug 2017 16: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 05: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-2023 Persistence of Vision Raytracer Pty. Ltd.